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.00131/0.00131, allocations: 82.17 kB / 21.25 MB, free: 0.5469 MB / 14.72 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.001453/0.001453, allocations: 160.5 kB / 24.5 MB, free: 3.719 MB / 14.72 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 1.418/1.418, allocations: 177.1 MB / 204.7 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001877/0.001877, allocations: 66.48 kB / 325.5 MB, free: 208 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08756/0.08944, allocations: 53.39 MB / 378.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004657/0.0941, allocations: 3.068 MB / 382 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002289/0.09639, allocations: 1.312 MB / 383.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001714/0.09656, allocations: 8 kB / 383.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004263/0.09698, allocations: 143.1 kB / 383.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001001/0.09799, allocations: 417.3 kB / 383.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004217/0.09841, allocations: 175.6 kB / 384 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006479/0.09906, allocations: 458.1 kB / 384.5 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000216/0.09927, allocations: 112.8 kB / 384.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002412/0.09951, allocations: 175.3 kB / 384.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002962/0.09981, allocations: 187.1 kB / 384.9 MB, free: 9.441 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.651e-05/0.09987, allocations: 32 kB / 385 MB, free: 9.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003091/0.1002, allocations: 163.9 kB / 385.1 MB, free: 9.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.029e-05/0.1003, allocations: 79.69 kB / 385.2 MB, free: 9.172 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001765/0.1004, allocations: 167.2 kB / 385.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006946/0.1011, allocations: 0.5487 MB / 385.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1011, allocations: 4 kB / 385.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1011, allocations: 0 / 385.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.1011, allocations: 0 / 385.9 MB, free: 8.453 MB / 350.1 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.001412/0.1026, allocations: 0.6805 MB / 386.6 MB, free: 7.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.1026, allocations: 12.02 kB / 386.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000817/0.1034, allocations: 112.6 kB / 386.7 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004912/0.1039, allocations: 267.7 kB / 387 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.149e-05/0.1039, allocations: 25.38 kB / 387 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.739e-05/0.104, allocations: 32.38 kB / 387 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006891/0.1047, allocations: 408.9 kB / 387.4 MB, free: 6.855 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.1047, allocations: 0 / 387.4 MB, free: 6.855 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.932e-05/0.1047, allocations: 16 kB / 387.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.1047, allocations: 8 kB / 387.5 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005285/0.1053, allocations: 249.9 kB / 387.7 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00204/0.1073, allocations: 1.126 MB / 388.8 MB, free: 5.379 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003965/0.1077, allocations: 185.2 kB / 389 MB, free: 5.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/0.1079, allocations: 81.62 kB / 389.1 MB, free: 5.094 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007615/0.1086, allocations: 0.5459 MB / 389.6 MB, free: 4.527 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/0.1087, allocations: 46.44 kB / 389.7 MB, free: 4.473 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.403e-06/0.1087, allocations: 0 / 389.7 MB, free: 4.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005761/0.1093, allocations: 225.4 kB / 389.9 MB, free: 4.246 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.519e-05/0.1093, allocations: 81.05 kB / 390 MB, free: 4.148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000314/0.1096, allocations: 300.1 kB / 390.3 MB, free: 3.844 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.1097, allocations: 29.7 kB / 390.3 MB, free: 3.809 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.1098, allocations: 240 kB / 390.5 MB, free: 3.566 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.84e-05/0.1099, allocations: 67.42 kB / 390.6 MB, free: 3.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.866e-05/0.11, allocations: 69.97 kB / 390.7 MB, free: 3.422 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.1101, allocations: 334.8 kB / 391 MB, free: 3.086 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.1103, allocations: 68.62 kB / 391.1 MB, free: 3.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002543/0.1106, allocations: 202.4 kB / 391.3 MB, free: 2.762 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000429/0.111, allocations: 284.8 kB / 391.5 MB, free: 2.422 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.111, allocations: 4 kB / 391.5 MB, free: 2.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005727/0.1116, allocations: 309.1 kB / 391.8 MB, free: 2.109 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1116, allocations: 8 kB / 391.8 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.1116, allocations: 8.5 kB / 391.9 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.1116, allocations: 8 kB / 391.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002877/0.1119, allocations: 75.91 kB / 391.9 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/0.1119, allocations: 15.92 kB / 392 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/0.1121, allocations: 39.73 kB / 392 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.1121, allocations: 15.94 kB / 392 MB, free: 1.941 MB / 350.1 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 0.0001563/0.1123, allocations: 157.7 kB / 392.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.067e-05/0.1124, allocations: 31.8 kB / 392.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.796e-05/0.1124, allocations: 25.81 kB / 392.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.1124, allocations: 3.984 kB / 392.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.1124, allocations: 7.938 kB / 392.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.1124, allocations: 7.938 kB / 392.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006447/0.1131, allocations: 414.9 kB / 392.6 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1131, allocations: 0 / 392.6 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002197/0.1133, allocations: 43.97 kB / 392.7 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.1133, allocations: 3.938 kB / 392.7 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.1133, allocations: 7.938 kB / 392.7 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1133, allocations: 0 / 392.7 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1133, allocations: 4.031 kB / 392.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005827/0.1139, allocations: 415.4 kB / 393.1 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.985e-05/0.114, allocations: 31.77 kB / 393.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.656e-05/0.114, allocations: 12.25 kB / 393.1 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.1142, allocations: 15.98 kB / 393.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/0.1143, allocations: 15.92 kB / 393.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.1143, allocations: 7.984 kB / 393.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001984/0.1145, allocations: 203.1 kB / 393.4 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1145, allocations: 3.938 kB / 393.4 MB, free: 500 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004408/0.1149, allocations: 87.78 kB / 393.5 MB, free: 412 kB / 350.1 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.0001497/0.1151, allocations: 115.2 kB / 393.6 MB, free: 284 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003966/0.1155, allocations: 179 kB / 393.8 MB, free: 108 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1155, allocations: 0 / 393.8 MB, free: 108 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.1156, allocations: 69.53 kB / 393.8 MB, free: 40 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.116, allocations: 24.97 kB / 393.9 MB, free: 16 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.1171, allocations: 0.6631 MB / 394.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001733/0.1173, allocations: 172.8 kB / 394.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001164/0.1174, allocations: 34.95 kB / 394.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.642e-05/0.1175, allocations: 20.5 kB / 394.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1175, allocations: 4 kB / 394.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of Templates: time 0.006294/0.1238, allocations: 2.179 MB / 396.9 MB, free: 12.94 MB / 366.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/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.219787654001266]