Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 75.77 kB / 21.18 MB, free: 3.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 161 kB / 24.56 MB, free: 8 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.048/1.048, allocations: 177.2 MB / 205 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2674/0.2674, allocations: 34.26 MB / 295.7 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor") translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 378 MB, free: 2.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.717e-05/2.849e-05, allocations: 5.547 kB / 378 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.002526/0.002555, allocations: 1.946 MB / 380 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008769/0.003432, allocations: 0.588 MB / 380.5 MB, free: 96 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.89e-05/0.003501, allocations: 0 / 380.5 MB, free: 96 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.042e-05/0.003551, allocations: 15.86 kB / 380.6 MB, free: 80 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002173/0.003768, allocations: 39.64 kB / 380.6 MB, free: 40 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002612/0.00403, allocations: 83.75 kB / 380.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.004187, allocations: 159.4 kB / 380.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.004307, allocations: 29.28 kB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002425/0.00455, allocations: 95.8 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.291e-05/0.004642, allocations: 47.88 kB / 381 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/0.004668, allocations: 12 kB / 381 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.525e-05/0.004723, allocations: 23.92 kB / 381 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.841e-05/0.004752, allocations: 31.84 kB / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.896e-05/0.004801, allocations: 51.84 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.004992, allocations: 99.69 kB / 381.2 MB, free: 15.42 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.004995, allocations: 0 / 381.2 MB, free: 15.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.004996, allocations: 0 / 381.2 MB, free: 15.42 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.005002, allocations: 4 kB / 381.2 MB, free: 15.41 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.0005798/0.005581, allocations: 464.1 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.005625, allocations: 8.031 kB / 381.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001834/0.005809, allocations: 40.86 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.005936, allocations: 146.4 kB / 381.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.005949, allocations: 4.375 kB / 381.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/0.00598, allocations: 8.375 kB / 381.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002367/0.006216, allocations: 177.4 kB / 382.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.006228, allocations: 4.188 kB / 382.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.006243, allocations: 4.375 kB / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.006252, allocations: 3.938 kB / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.925e-05/0.006331, allocations: 31.97 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005976/0.006928, allocations: 410.6 kB / 382.5 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.007032, allocations: 50.97 kB / 382.6 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.13e-05/0.007063, allocations: 15.69 kB / 382.6 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.00708, allocations: 0 / 382.6 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.007104, allocations: 41.38 kB / 382.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.007105, allocations: 0 / 382.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005111/0.007616, allocations: 141.4 kB / 382.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.007663, allocations: 106.8 kB / 382.8 MB, free: 13.6 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.007783, allocations: 212.2 kB / 383.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.007801, allocations: 29.7 kB / 383.1 MB, free: 13.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.239e-05/0.007873, allocations: 158.9 kB / 383.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.007891, allocations: 27.78 kB / 383.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-05/0.007937, allocations: 31.36 kB / 383.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.008051, allocations: 0.4884 MB / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.369e-05/0.008095, allocations: 19.98 kB / 383.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.155e-05/0.008177, allocations: 113.8 kB / 383.9 MB, free: 12.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.092e-05/0.008268, allocations: 59.03 kB / 384 MB, free: 12.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.00827, allocations: 8.031 kB / 384 MB, free: 12.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001435/0.008414, allocations: 85.56 kB / 384.1 MB, free: 12.28 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.008429, allocations: 6.188 kB / 384.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.008434, allocations: 3.938 kB / 384.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.008453, allocations: 4 kB / 384.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003181/0.008771, allocations: 79.92 kB / 384.2 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001213/0.009984, allocations: 1.882 MB / 386 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.339e-05/0.01008, allocations: 15.98 kB / 386.1 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.01009, allocations: 4 kB / 386.1 MB, free: 10.16 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 9.232e-05/0.01018, allocations: 168.7 kB / 386.2 MB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.01021, allocations: 15.89 kB / 386.2 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.01032, allocations: 82.44 kB / 386.3 MB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.01032, allocations: 0 / 386.3 MB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-06/0.01033, allocations: 0 / 386.3 MB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.01033, allocations: 0 / 386.3 MB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003176/0.01065, allocations: 353.3 kB / 386.7 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.01065, allocations: 3.984 kB / 386.7 MB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.733e-05/0.01072, allocations: 20.27 kB / 386.7 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.01072, allocations: 11.94 kB / 386.7 MB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.01073, allocations: 0 / 386.7 MB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.01073, allocations: 0 / 386.7 MB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01073, allocations: 0 / 386.7 MB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.01088, allocations: 227.7 kB / 386.9 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.716e-05/0.01089, allocations: 19.83 kB / 386.9 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.01091, allocations: 0 / 386.9 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.89e-05/0.01099, allocations: 15.98 kB / 387 MB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.01103, allocations: 4 kB / 387 MB, free: 9.184 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.812e-06/0.01104, allocations: 3.984 kB / 387 MB, free: 9.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.9e-05/0.01111, allocations: 157.6 kB / 387.1 MB, free: 9.027 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01111, allocations: 0 / 387.1 MB, free: 9.027 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001865/0.01129, allocations: 24 kB / 387.1 MB, free: 9.004 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.449e-05/0.01138, allocations: 99.25 kB / 387.2 MB, free: 8.898 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003509/0.01173, allocations: 91.55 kB / 387.3 MB, free: 8.805 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01173, allocations: 0 / 387.3 MB, free: 8.805 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.099e-05/0.01177, allocations: 27.8 kB / 387.4 MB, free: 8.773 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.012, allocations: 24.55 kB / 387.4 MB, free: 8.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006878/0.01269, allocations: 297.6 kB / 387.7 MB, free: 8.426 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.765e-05/0.01273, allocations: 67.34 kB / 387.7 MB, free: 8.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.818e-05/0.01278, allocations: 12.48 kB / 387.7 MB, free: 8.328 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.885e-05/0.01283, allocations: 12.5 kB / 387.8 MB, free: 8.316 MB / 362.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01283, allocations: 0 / 387.8 MB, free: 8.316 MB / 362.7 MB Notification: Performance of Templates: time 0.004151/0.01698, allocations: 1.883 MB / 389.6 MB, free: 6.441 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.286315761040896]