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.001355/0.001355, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001844/0.001844, allocations: 156.9 kB / 24.27 MB, free: 168 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.597/1.597, allocations: 177 MB / 204.4 MB, free: 5.617 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.4053/0.4053, allocations: 34.25 MB / 295.2 MB, free: 0.6445 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.753e-06/1.753e-06, allocations: 0 / 377.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.391e-05/3.567e-05, allocations: 2.312 kB / 377.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003741/0.003777, allocations: 1.853 MB / 379 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001227/0.005004, allocations: 0.5686 MB / 379.6 MB, free: 492 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.822e-05/0.005072, allocations: 0 / 379.6 MB, free: 492 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.663e-05/0.005129, allocations: 15.8 kB / 379.6 MB, free: 476 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002235/0.005353, allocations: 39.7 kB / 379.7 MB, free: 436 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002883/0.005641, allocations: 91.69 kB / 379.8 MB, free: 344 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000203/0.005844, allocations: 147.4 kB / 379.9 MB, free: 196 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.005972, allocations: 33.14 kB / 379.9 MB, free: 164 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002818/0.006254, allocations: 107.7 kB / 380 MB, free: 56 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.006365, allocations: 43.89 kB / 380.1 MB, free: 12 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.211e-05/0.006398, allocations: 12 kB / 380.1 MB, free: 0 / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.725e-05/0.006475, allocations: 23.98 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.819e-05/0.006513, allocations: 27.91 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.107e-05/0.006594, allocations: 47.83 kB / 380.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.006846, allocations: 159.5 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.006849, allocations: 0 / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.00685, allocations: 0 / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.006855, allocations: 0 / 380.3 MB, free: 15.75 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.0008597/0.007715, allocations: 373.8 kB / 380.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.007754, allocations: 16.03 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000332/0.008086, allocations: 40.86 kB / 380.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/0.008271, allocations: 132.6 kB / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.008293, allocations: 8.375 kB / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.721e-05/0.00833, allocations: 8.375 kB / 380.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004441/0.008774, allocations: 192.1 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.008787, allocations: 192 / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.008807, allocations: 4.375 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.008818, allocations: 11.94 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003499/0.009168, allocations: 91.92 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008783/0.01005, allocations: 367.4 kB / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000478/0.01052, allocations: 90.52 kB / 381.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.01068, allocations: 40.92 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.0107, allocations: 7.922 kB / 381.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.01074, allocations: 34.56 kB / 381.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.01074, allocations: 0 / 381.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.001525/0.01227, allocations: 313.1 kB / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.016e-05/0.01236, allocations: 110.8 kB / 382.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.01254, allocations: 152.5 kB / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.01257, allocations: 25.7 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.01268, allocations: 124.1 kB / 382.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.01271, allocations: 23.78 kB / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.163e-05/0.01278, allocations: 33.7 kB / 382.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.01295, allocations: 318.8 kB / 382.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000247/0.0132, allocations: 63.94 kB / 382.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003206/0.01352, allocations: 147.6 kB / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004699/0.01399, allocations: 134.5 kB / 383.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.01399, allocations: 0 / 383.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005718/0.01456, allocations: 177.5 kB / 383.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.01458, allocations: 4 kB / 383.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.01459, allocations: 0 / 383.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.01461, allocations: 4 kB / 383.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006154/0.01522, allocations: 87.91 kB / 383.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001746/0.01697, allocations: 1.374 MB / 384.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002363/0.01721, allocations: 32.19 kB / 384.8 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.01722, allocations: 0 / 384.8 MB, free: 10.92 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.0001508/0.01737, allocations: 121.8 kB / 384.9 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.911e-05/0.01742, allocations: 15.89 kB / 385 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005554/0.01797, allocations: 166.3 kB / 385.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.01798, allocations: 4 kB / 385.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-06/0.01798, allocations: 0 / 385.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.01798, allocations: 0 / 385.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000863/0.01885, allocations: 386.1 kB / 385.5 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01885, allocations: 0 / 385.5 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.01902, allocations: 35.97 kB / 385.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.01903, allocations: 0 / 385.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.01904, allocations: 4.266 kB / 385.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.01904, allocations: 0 / 385.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01904, allocations: 0 / 385.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005976/0.01964, allocations: 255.3 kB / 385.8 MB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.282e-05/0.01967, allocations: 23.88 kB / 385.8 MB, free: 9.859 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.0197, allocations: 0 / 385.8 MB, free: 9.859 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.01992, allocations: 27.97 kB / 385.8 MB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.173e-05/0.01998, allocations: 7.922 kB / 385.8 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.01999, allocations: 8 kB / 385.9 MB, free: 9.816 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000101/0.02009, allocations: 103.3 kB / 386 MB, free: 9.715 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02009, allocations: 0 / 386 MB, free: 9.715 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002957/0.02039, allocations: 32 kB / 386 MB, free: 9.684 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.0001279/0.02051, allocations: 95.19 kB / 386.1 MB, free: 9.582 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009297/0.02144, allocations: 171.8 kB / 386.2 MB, free: 9.414 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.02145, allocations: 0 / 386.2 MB, free: 9.414 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000239/0.02169, allocations: 64.02 kB / 386.3 MB, free: 9.352 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.02206, allocations: 30.25 kB / 386.3 MB, free: 9.324 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.02341, allocations: 368 kB / 386.7 MB, free: 8.934 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.063e-05/0.0235, allocations: 84.31 kB / 386.8 MB, free: 8.832 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.995e-05/0.02357, allocations: 16.48 kB / 386.8 MB, free: 8.816 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.96e-05/0.02363, allocations: 16.5 kB / 386.8 MB, free: 8.797 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.02363, allocations: 3.938 kB / 386.8 MB, free: 8.793 MB / 362.7 MB Notification: Performance of Templates: time 0.005263/0.02889, allocations: 1.875 MB / 388.7 MB, free: 6.93 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 480] 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: 5.090993936988525]