Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001479/0.001479, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00105/0.00105, allocations: 100.8 kB / 296.7 MB, free: 6.461 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3749/0.3749, allocations: 44.83 MB / 392.7 MB, free: 34.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 60.09 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4668/0.468, allocations: 62.02 MB / 0.5151 GB, free: 37.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003436/0.4715, allocations: 1.795 MB / 0.5169 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001585/0.4717, allocations: 89.19 kB / 0.517 GB, free: 36.49 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.624e-05/0.4717, allocations: 3 kB / 0.517 GB, free: 36.49 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 6.33e-05/0.4718, allocations: 7.938 kB / 0.517 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 8.635e-05/0.4719, allocations: 18.12 kB / 0.517 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001373/0.4721, allocations: 25.58 kB / 0.517 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.4722, allocations: 103.8 kB / 0.5171 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002323/0.4725, allocations: 41.47 kB / 0.5172 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.733e-05/0.4726, allocations: 40.88 kB / 0.5172 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.925e-05/0.4727, allocations: 52.83 kB / 0.5173 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.591e-05/0.4727, allocations: 12.81 kB / 0.5173 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.288e-05/0.4727, allocations: 8.656 kB / 0.5173 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.301e-05/0.4728, allocations: 22.17 kB / 0.5173 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.265e-05/0.4729, allocations: 40.39 kB / 0.5173 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.473, allocations: 117.7 kB / 0.5175 GB, free: 36.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.806e-06/0.4731, allocations: 0 / 0.5175 GB, free: 36.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.4731, allocations: 0 / 0.5175 GB, free: 36.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.4731, allocations: 0 / 0.5175 GB, free: 36.25 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006977/0.4738, allocations: 419.7 kB / 0.5179 GB, free: 35.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.4739, allocations: 8.469 kB / 0.5179 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.235e-05/0.4739, allocations: 10.88 kB / 0.5179 GB, free: 35.85 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.4741, allocations: 182.1 kB / 0.518 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.4741, allocations: 7.344 kB / 0.518 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.4741, allocations: 10.31 kB / 0.5181 GB, free: 35.63 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003282/0.4744, allocations: 121.2 kB / 0.5182 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.4745, allocations: 8.125 kB / 0.5182 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/0.4745, allocations: 10.75 kB / 0.5182 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.4745, allocations: 2.875 kB / 0.5182 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003417/0.4748, allocations: 106.6 kB / 0.5183 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006913/0.4755, allocations: 478.4 kB / 0.5188 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/0.4758, allocations: 82.23 kB / 0.5188 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002036/0.476, allocations: 66.28 kB / 0.5189 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.476, allocations: 0 / 0.5189 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.4761, allocations: 37.31 kB / 0.5189 GB, free: 35.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.4761, allocations: 0 / 0.5189 GB, free: 35.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007933/0.4769, allocations: 263.1 kB / 0.5192 GB, free: 34.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.4769, allocations: 62.22 kB / 0.5192 GB, free: 34.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.477, allocations: 120.6 kB / 0.5194 GB, free: 34.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.477, allocations: 25.7 kB / 0.5194 GB, free: 34.67 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.4771, allocations: 115.2 kB / 0.5195 GB, free: 34.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.4772, allocations: 18.84 kB / 0.5195 GB, free: 34.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.4772, allocations: 22.98 kB / 0.5195 GB, free: 34.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.593e-05/0.4773, allocations: 314.8 kB / 0.5198 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.4774, allocations: 34.36 kB / 0.5199 GB, free: 34.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.4776, allocations: 62.95 kB / 0.5199 GB, free: 34.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002904/0.4779, allocations: 97.56 kB / 0.52 GB, free: 34.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.4779, allocations: 11.03 kB / 0.52 GB, free: 34.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003796/0.4783, allocations: 143 kB / 0.5202 GB, free: 34.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.4783, allocations: 6.281 kB / 0.5202 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.4783, allocations: 0 / 0.5202 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001603/0.4785, allocations: 22.8 kB / 0.5202 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.4787, allocations: 24.47 kB / 0.5202 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007329/0.4794, allocations: 1.3 MB / 0.5215 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.376e-05/0.4795, allocations: 20.53 kB / 0.5215 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.4795, allocations: 2.906 kB / 0.5215 GB, free: 32.7 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.618e-05/0.4796, allocations: 120.6 kB / 0.5216 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.4796, allocations: 6.844 kB / 0.5216 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.919e-05/0.4797, allocations: 11.7 kB / 0.5216 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.4797, allocations: 7.875 kB / 0.5216 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.4797, allocations: 2.969 kB / 0.5217 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.4797, allocations: 0 / 0.5217 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005658/0.4803, allocations: 422.4 kB / 0.5221 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4803, allocations: 0 / 0.5221 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.705e-05/0.4804, allocations: 17.72 kB / 0.5221 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-05/0.4804, allocations: 24.45 kB / 0.5221 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-06/0.4804, allocations: 6.938 kB / 0.5221 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005922/0.481, allocations: 1.3 MB / 0.5234 GB, free: 30.85 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4811, allocations: 3.938 kB / 0.5234 GB, free: 30.85 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006722/0.4817, allocations: 0.8339 MB / 0.5242 GB, free: 30.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.406e-05/0.4818, allocations: 87.64 kB / 0.5243 GB, free: 29.97 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.4818, allocations: 2.594 kB / 0.5243 GB, free: 29.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.4819, allocations: 12.12 kB / 0.5243 GB, free: 29.97 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.762e-05/0.482, allocations: 13.03 kB / 0.5243 GB, free: 29.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.482, allocations: 4 kB / 0.5243 GB, free: 29.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.143e-05/0.482, allocations: 95.91 kB / 0.5244 GB, free: 29.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.482, allocations: 0 / 0.5244 GB, free: 29.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003374/0.4824, allocations: 31.12 kB / 0.5244 GB, free: 29.88 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.172e-05/0.4825, allocations: 96.53 kB / 0.5245 GB, free: 29.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004856/0.483, allocations: 202.6 kB / 0.5247 GB, free: 29.65 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.483, allocations: 2.688 kB / 0.5247 GB, free: 29.65 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002122/0.4832, allocations: 163.1 kB / 0.5249 GB, free: 29.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.4835, allocations: 6.25 kB / 0.5249 GB, free: 29.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004803/0.484, allocations: 372.3 kB / 0.5252 GB, free: 29.19 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001638/0.4842, allocations: 0.6956 MB / 0.5259 GB, free: 28.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.654e-05/0.4842, allocations: 10.09 kB / 0.5259 GB, free: 28.49 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.706e-05/0.4843, allocations: 10.91 kB / 0.5259 GB, free: 28.48 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4843, allocations: 0 / 0.5259 GB, free: 28.48 MB / 378.7 MB Notification: Performance of Templates: time 0.003218/0.4875, allocations: 0.9962 MB / 0.5269 GB, free: 28.38 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches