Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008165/0.0008165, allocations: 92.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003881/0.003881, allocations: 158.5 kB / 24.7 MB, free: 8.906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8813/0.8813, allocations: 177 MB / 204.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.484e-05/3.647e-05, allocations: 3.125 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003061/0.003098, allocations: 3.065 MB / 328.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.004501, allocations: 1.327 MB / 330.2 MB, free: 10.99 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.004627, allocations: 7.938 kB / 330.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002863/0.004913, allocations: 142.9 kB / 330.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006306/0.005544, allocations: 417.5 kB / 330.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.005775, allocations: 179.5 kB / 330.9 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006959/0.00647, allocations: 477.8 kB / 331.4 MB, free: 9.785 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.006631, allocations: 104.8 kB / 331.5 MB, free: 9.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000196/0.006827, allocations: 255.3 kB / 331.7 MB, free: 9.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.006989, allocations: 147.6 kB / 331.8 MB, free: 9.285 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.721e-05/0.007026, allocations: 39.94 kB / 331.9 MB, free: 9.246 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001923/0.007219, allocations: 155.8 kB / 332 MB, free: 9.094 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.617e-05/0.007265, allocations: 91.59 kB / 332.1 MB, free: 9.004 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.717e-05/0.007352, allocations: 131.7 kB / 332.3 MB, free: 8.875 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004608/0.007813, allocations: 0.5607 MB / 332.8 MB, free: 8.312 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.007815, allocations: 0 / 332.8 MB, free: 8.312 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.007816, allocations: 0 / 332.8 MB, free: 8.312 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.007821, allocations: 4 kB / 332.8 MB, free: 8.309 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.0008838/0.008705, allocations: 0.6727 MB / 333.5 MB, free: 7.605 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.008739, allocations: 15.98 kB / 333.5 MB, free: 7.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003727/0.009112, allocations: 116.6 kB / 333.6 MB, free: 7.477 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.009422, allocations: 259.1 kB / 333.9 MB, free: 7.195 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.009442, allocations: 33.38 kB / 333.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.95e-05/0.009481, allocations: 28.38 kB / 333.9 MB, free: 7.133 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003963/0.009877, allocations: 413 kB / 334.3 MB, free: 6.707 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.009888, allocations: 192 / 334.3 MB, free: 6.707 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.811e-05/0.009916, allocations: 12.38 kB / 334.4 MB, free: 6.695 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-06/0.009925, allocations: 11.94 kB / 334.4 MB, free: 6.684 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002931/0.01022, allocations: 257.8 kB / 334.6 MB, free: 6.434 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.01134, allocations: 1.127 MB / 335.7 MB, free: 5.227 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000245/0.01159, allocations: 181.2 kB / 335.9 MB, free: 5.031 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.148e-05/0.01168, allocations: 77.69 kB / 336 MB, free: 4.949 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004722/0.01215, allocations: 0.5497 MB / 336.5 MB, free: 4.379 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.01217, allocations: 42.55 kB / 336.6 MB, free: 4.328 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 9.52e-07/0.01217, allocations: 0 / 336.6 MB, free: 4.328 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003354/0.01251, allocations: 221.3 kB / 336.8 MB, free: 4.105 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.01254, allocations: 81.11 kB / 336.9 MB, free: 4.008 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.01273, allocations: 296.2 kB / 337.2 MB, free: 3.711 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.01275, allocations: 25.7 kB / 337.2 MB, free: 3.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.01285, allocations: 240.1 kB / 337.4 MB, free: 3.438 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.01289, allocations: 75.34 kB / 337.5 MB, free: 3.363 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.007e-05/0.01295, allocations: 65.98 kB / 337.6 MB, free: 3.289 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.106e-05/0.01303, allocations: 334.8 kB / 337.9 MB, free: 2.953 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.055e-05/0.01312, allocations: 72.61 kB / 338 MB, free: 2.883 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.01326, allocations: 206.3 kB / 338.2 MB, free: 2.621 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005097/0.01377, allocations: 284.3 kB / 338.4 MB, free: 2.285 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01377, allocations: 0 / 338.4 MB, free: 2.285 MB / 298.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003132/0.01408, allocations: 317 kB / 338.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.0141, allocations: 8.562 kB / 338.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.0141, allocations: 8 kB / 338.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.01411, allocations: 8 kB / 338.8 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.01426, allocations: 75.89 kB / 338.9 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.998e-06/0.01427, allocations: 11.94 kB / 338.9 MB, free: 1.859 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.489e-05/0.01436, allocations: 43.72 kB / 338.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.01437, allocations: 12 kB / 338.9 MB, free: 1.805 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.571e-05/0.01447, allocations: 161.6 kB / 339.1 MB, free: 1.637 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.0145, allocations: 27.86 kB / 339.1 MB, free: 1.609 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.818e-05/0.01454, allocations: 29.8 kB / 339.1 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.01455, allocations: 4 kB / 339.1 MB, free: 1.566 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.01455, allocations: 3.938 kB / 339.1 MB, free: 1.562 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.01455, allocations: 0 / 339.1 MB, free: 1.562 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003789/0.01493, allocations: 423.1 kB / 339.6 MB, free: 1.105 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01493, allocations: 4 kB / 339.6 MB, free: 1.102 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.01504, allocations: 43.92 kB / 339.6 MB, free: 1.059 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.01504, allocations: 4 kB / 339.6 MB, free: 1.055 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.01505, allocations: 8.016 kB / 339.6 MB, free: 1.047 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.01505, allocations: 4 kB / 339.6 MB, free: 1.043 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01505, allocations: 80 / 339.6 MB, free: 1.043 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000331/0.01538, allocations: 427.2 kB / 340 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.7e-05/0.01541, allocations: 27.84 kB / 340.1 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.01543, allocations: 0 / 340.1 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.866e-05/0.01553, allocations: 19.98 kB / 340.1 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.01557, allocations: 15.97 kB / 340.1 MB, free: 0.543 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.01558, allocations: 12 kB / 340.1 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001167/0.0157, allocations: 195.1 kB / 340.3 MB, free: 352 kB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0157, allocations: 0 / 340.3 MB, free: 352 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002553/0.01595, allocations: 87.78 kB / 340.4 MB, free: 264 kB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001121/0.01606, allocations: 115.2 kB / 340.5 MB, free: 140 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002469/0.01631, allocations: 183 kB / 340.7 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01631, allocations: 0 / 340.7 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.539e-05/0.01639, allocations: 68.86 kB / 340.7 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.01664, allocations: 36.92 kB / 340.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007019/0.01734, allocations: 0.6198 MB / 341.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.01744, allocations: 164.8 kB / 341.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.174e-05/0.0175, allocations: 32.48 kB / 341.6 MB, free: 14.99 MB / 314.7 MB Notification: Performance of SimCode: time 4.31e-07/0.0175, allocations: 0 / 341.6 MB, free: 14.99 MB / 314.7 MB Notification: Performance of Templates: time 0.003525/0.02102, allocations: 3.616 MB / 345.2 MB, free: 11.38 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.020330851897597]