Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.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.002673/0.002673, allocations: 99.53 kB / 20.96 MB, free: 3.457 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.003035/0.003035, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 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 1.57/1.57, allocations: 177 MB / 204.5 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4282/0.4282, allocations: 34.25 MB / 295.2 MB, free: 0.6328 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor") translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 377.2 MB, free: 2.914 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.748e-05/2.897e-05, allocations: 2.312 kB / 377.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003556/0.003585, allocations: 1.904 MB / 379.1 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.004783, allocations: 0.5726 MB / 379.7 MB, free: 420 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.672e-05/0.00486, allocations: 4 kB / 379.7 MB, free: 416 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 6.191e-05/0.004922, allocations: 11.86 kB / 379.7 MB, free: 404 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002425/0.005164, allocations: 47.62 kB / 379.7 MB, free: 356 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.005443, allocations: 79.77 kB / 379.8 MB, free: 276 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002265/0.005669, allocations: 163.3 kB / 380 MB, free: 112 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.005801, allocations: 21.17 kB / 380 MB, free: 92 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003059/0.006107, allocations: 107.7 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.006222, allocations: 51.78 kB / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.619e-05/0.006258, allocations: 12 kB / 380.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.836e-05/0.006326, allocations: 20 kB / 380.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.29e-05/0.006369, allocations: 35.89 kB / 380.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.275e-05/0.006442, allocations: 43.86 kB / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003017/0.006744, allocations: 155.5 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.006748, allocations: 0 / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.606e-06/0.006751, allocations: 4 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.006758, allocations: 0 / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009196/0.007677, allocations: 463.7 kB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.007716, allocations: 12.03 kB / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003298/0.008046, allocations: 48.86 kB / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.008239, allocations: 139.4 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.008257, allocations: 4.375 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.141e-05/0.008289, allocations: 8.375 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003745/0.008663, allocations: 184.7 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.008679, allocations: 192 / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.0087, allocations: 12.36 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.00871, allocations: 7.938 kB / 381.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002865/0.008997, allocations: 79.88 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009522/0.009949, allocations: 434.6 kB / 381.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/0.01023, allocations: 83.03 kB / 381.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.01034, allocations: 35.77 kB / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.01036, allocations: 0 / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.0104, allocations: 41.38 kB / 381.9 MB, free: 13.99 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.0104, allocations: 0 / 381.9 MB, free: 13.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.001134/0.01153, allocations: 245.2 kB / 382.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.827e-05/0.01162, allocations: 106.8 kB / 382.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002206/0.01184, allocations: 220.8 kB / 382.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.01187, allocations: 25.7 kB / 382.5 MB, free: 13.35 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.012, allocations: 166.9 kB / 382.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.01203, allocations: 31.72 kB / 382.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.442e-05/0.01211, allocations: 35.3 kB / 382.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002855/0.01239, allocations: 0.4923 MB / 383.2 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.01257, allocations: 47.97 kB / 383.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002662/0.01283, allocations: 149.8 kB / 383.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000332/0.01316, allocations: 111 kB / 383.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.01317, allocations: 4.031 kB / 383.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004314/0.0136, allocations: 153.5 kB / 383.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.01361, allocations: 4 kB / 383.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.01362, allocations: 4 kB / 383.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.01364, allocations: 0 / 383.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005888/0.01423, allocations: 79.98 kB / 383.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002031/0.01626, allocations: 1.937 MB / 385.7 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.01643, allocations: 16.08 kB / 385.7 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.01644, allocations: 11.98 kB / 385.7 MB, free: 9.922 MB / 362.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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001574/0.0166, allocations: 168.6 kB / 385.9 MB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.622e-05/0.01665, allocations: 12.17 kB / 385.9 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004142/0.01706, allocations: 130.4 kB / 386 MB, free: 9.602 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.01707, allocations: 7.984 kB / 386.1 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.01707, allocations: 4.062 kB / 386.1 MB, free: 9.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.01707, allocations: 4 kB / 386.1 MB, free: 9.586 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000763/0.01784, allocations: 425.3 kB / 386.5 MB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.01784, allocations: 0 / 386.5 MB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.01796, allocations: 19.98 kB / 386.5 MB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.01797, allocations: 0 / 386.5 MB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.01798, allocations: 3.984 kB / 386.5 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.01798, allocations: 0 / 386.5 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.01799, allocations: 8 kB / 386.5 MB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004642/0.01845, allocations: 275.7 kB / 386.8 MB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.457e-05/0.01847, allocations: 11.89 kB / 386.8 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.0185, allocations: 4 kB / 386.8 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.01868, allocations: 15.98 kB / 386.8 MB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.763e-05/0.01874, allocations: 3.984 kB / 386.8 MB, free: 8.773 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.01875, allocations: 7.938 kB / 386.8 MB, free: 8.766 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001316/0.01888, allocations: 159.2 kB / 387 MB, free: 8.609 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01888, allocations: 0 / 387 MB, free: 8.609 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002663/0.01914, allocations: 28 kB / 387 MB, free: 8.582 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * 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.0001299/0.01927, allocations: 99.23 kB / 387.1 MB, free: 8.477 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008218/0.0201, allocations: 151.6 kB / 387.2 MB, free: 8.324 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.0201, allocations: 4 kB / 387.3 MB, free: 8.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001826/0.02028, allocations: 59.59 kB / 387.3 MB, free: 8.258 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.02059, allocations: 22.19 kB / 387.3 MB, free: 8.238 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.02179, allocations: 321.7 kB / 387.6 MB, free: 7.891 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.02189, allocations: 84.31 kB / 387.7 MB, free: 7.789 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.071e-05/0.02196, allocations: 12.5 kB / 387.7 MB, free: 7.777 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.81e-05/0.02203, allocations: 16.48 kB / 387.8 MB, free: 7.758 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.02203, allocations: 0 / 387.8 MB, free: 7.758 MB / 362.7 MB Notification: Performance of Templates: time 0.005755/0.02779, allocations: 1.882 MB / 389.6 MB, free: 5.887 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.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.959328411961906]