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.001333/0.001333, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001065/0.001065, allocations: 171.9 kB / 24.82 MB, free: 9.273 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 1.035/1.035, allocations: 177 MB / 205.1 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] 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.2656/0.2656, allocations: 34.86 MB / 296.6 MB, free: 0.5039 MB / 266.7 MB " [Timeout remaining time 180] 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.583e-06/1.583e-06, allocations: 0 / 379.2 MB, free: 1.859 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.065e-05/2.223e-05, allocations: 3.297 kB / 379.2 MB, free: 1.855 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.002219/0.002241, allocations: 1.937 MB / 381.1 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.000724/0.002965, allocations: 0.58 MB / 381.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.909e-05/0.003024, allocations: 4 kB / 381.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 4.355e-05/0.003068, allocations: 15.84 kB / 381.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001777/0.003246, allocations: 39.64 kB / 381.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.00346, allocations: 79.77 kB / 381.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.003601, allocations: 163.3 kB / 382 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.003709, allocations: 25.3 kB / 382 MB, free: 15 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002073/0.003916, allocations: 99.73 kB / 382.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.083e-05/0.003997, allocations: 55.86 kB / 382.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.004021, allocations: 12 kB / 382.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.289e-05/0.004074, allocations: 15.94 kB / 382.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.526e-05/0.004099, allocations: 31.84 kB / 382.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.946e-05/0.004138, allocations: 51.89 kB / 382.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.00429, allocations: 99.69 kB / 382.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.004291, allocations: 4 kB / 382.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.004292, allocations: 0 / 382.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.004295, allocations: 4 kB / 382.4 MB, free: 14.63 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.0004912/0.004786, allocations: 456.1 kB / 382.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.004833, allocations: 16.03 kB / 382.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.004998, allocations: 40.8 kB / 382.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.005106, allocations: 136.4 kB / 383 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.00512, allocations: 8.375 kB / 383 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/0.005146, allocations: 12.38 kB / 383.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.005333, allocations: 165.3 kB / 383.2 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.088e-06/0.005342, allocations: 192 / 383.2 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.005352, allocations: 8.312 kB / 383.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.005358, allocations: 7.938 kB / 383.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.435e-05/0.005403, allocations: 26.31 kB / 383.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004372/0.00584, allocations: 395.2 kB / 383.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.415e-05/0.005914, allocations: 47.03 kB / 383.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.226e-05/0.005936, allocations: 15.69 kB / 383.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.00595, allocations: 0 / 383.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.005971, allocations: 41.33 kB / 383.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.005972, allocations: 0 / 383.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.000363/0.006335, allocations: 121.6 kB / 383.9 MB, free: 13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.006375, allocations: 114.7 kB / 384 MB, free: 12.87 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.006477, allocations: 204.7 kB / 384.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.00649, allocations: 25.7 kB / 384.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.063e-05/0.006561, allocations: 162.9 kB / 384.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.373e-05/0.006574, allocations: 23.78 kB / 384.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-05/0.006617, allocations: 35.34 kB / 384.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.00672, allocations: 0.4922 MB / 384.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.953e-05/0.006749, allocations: 11.98 kB / 384.9 MB, free: 11.87 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.563e-05/0.006815, allocations: 109.8 kB / 385 MB, free: 11.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.68e-05/0.006882, allocations: 58.97 kB / 385.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.006883, allocations: 4.031 kB / 385.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001097/0.006992, allocations: 81.56 kB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.007007, allocations: 8 kB / 385.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.007012, allocations: 0 / 385.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.007024, allocations: 0 / 385.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002659/0.007289, allocations: 75.92 kB / 385.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009567/0.008246, allocations: 1.875 MB / 387.1 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.326e-05/0.008319, allocations: 15.98 kB / 387.1 MB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.008326, allocations: 0 / 387.1 MB, free: 9.484 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 7.163e-05/0.008398, allocations: 168.7 kB / 387.3 MB, free: 9.309 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.008426, allocations: 11.95 kB / 387.3 MB, free: 9.297 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.25e-05/0.008518, allocations: 82.59 kB / 387.4 MB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.008521, allocations: 7.969 kB / 387.4 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.008523, allocations: 0 / 387.4 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.008525, allocations: 0 / 387.4 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.008788, allocations: 326 kB / 387.7 MB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.00879, allocations: 0 / 387.7 MB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.749e-05/0.008847, allocations: 19.98 kB / 387.7 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.00885, allocations: 7.938 kB / 387.8 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.008856, allocations: 3.938 kB / 387.8 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.008858, allocations: 0 / 387.8 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.008859, allocations: 0 / 387.8 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.008974, allocations: 216.1 kB / 388 MB, free: 8.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.478e-05/0.008989, allocations: 19.89 kB / 388 MB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.009001, allocations: 3.938 kB / 388 MB, free: 8.566 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.635e-05/0.009067, allocations: 11.98 kB / 388 MB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.009101, allocations: 8 kB / 388 MB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.009106, allocations: 3.984 kB / 388 MB, free: 8.543 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.598e-05/0.009152, allocations: 147.2 kB / 388.2 MB, free: 8.398 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009152, allocations: 0 / 388.2 MB, free: 8.398 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001636/0.009316, allocations: 28 kB / 388.2 MB, free: 8.371 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 8.165e-05/0.009397, allocations: 103.2 kB / 388.3 MB, free: 8.262 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002628/0.00966, allocations: 79.61 kB / 388.4 MB, free: 8.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.009662, allocations: 0 / 388.4 MB, free: 8.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.332e-05/0.009695, allocations: 31.75 kB / 388.4 MB, free: 8.145 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/0.009883, allocations: 19.92 kB / 388.4 MB, free: 8.125 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005733/0.01046, allocations: 305.6 kB / 388.7 MB, free: 7.793 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.537e-05/0.01049, allocations: 67.34 kB / 388.8 MB, free: 7.707 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.754e-05/0.01054, allocations: 12.48 kB / 388.8 MB, free: 7.695 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.01064, allocations: 94.17 kB / 388.9 MB, free: 7.602 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01064, allocations: 4 kB / 388.9 MB, free: 7.598 MB / 362.7 MB Notification: Performance of Templates: time 0.003553/0.01419, allocations: 2.003 MB / 390.9 MB, free: 5.621 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0710805621929467]