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.001911/0.001911, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.001991/0.001991, allocations: 161.6 kB / 24.27 MB, free: 156 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.643/1.643, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.3389/0.3389, allocations: 34.26 MB / 295.3 MB, free: 0.6641 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.353e-06/1.353e-06, allocations: 0 / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.635e-05/2.77e-05, allocations: 2.312 kB / 377.3 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003608/0.003636, allocations: 1.911 MB / 379.2 MB, free: 1.047 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.004849, allocations: 0.5726 MB / 379.8 MB, free: 480 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.589e-05/0.004915, allocations: 0 / 379.8 MB, free: 480 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.315e-05/0.004968, allocations: 19.8 kB / 379.8 MB, free: 460 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002209/0.005189, allocations: 43.69 kB / 379.8 MB, free: 416 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000293/0.005482, allocations: 79.77 kB / 379.9 MB, free: 336 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002299/0.005712, allocations: 159.4 kB / 380 MB, free: 176 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.005834, allocations: 25.16 kB / 380.1 MB, free: 152 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005019/0.006336, allocations: 103.7 kB / 380.2 MB, free: 48 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.006473, allocations: 55.88 kB / 380.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.528e-05/0.006508, allocations: 12 kB / 380.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.918e-05/0.006577, allocations: 16 kB / 380.3 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.301e-05/0.00662, allocations: 39.81 kB / 380.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.005e-05/0.00669, allocations: 43.86 kB / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002863/0.006977, allocations: 151.5 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.006981, allocations: 0 / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.006983, allocations: 0 / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.006988, allocations: 7.938 kB / 380.5 MB, free: 15.73 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.0009048/0.007893, allocations: 467.7 kB / 380.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.007932, allocations: 12.03 kB / 381 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003101/0.008242, allocations: 40.86 kB / 381 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.008428, allocations: 132.5 kB / 381.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.008447, allocations: 8.375 kB / 381.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.609e-05/0.008493, allocations: 12.36 kB / 381.2 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003678/0.008861, allocations: 191 kB / 381.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.008874, allocations: 192 / 381.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.00889, allocations: 4.375 kB / 381.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.008899, allocations: 7.938 kB / 381.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002708/0.00917, allocations: 71.95 kB / 381.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009416/0.01011, allocations: 438.6 kB / 381.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002783/0.01039, allocations: 87.03 kB / 381.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.01051, allocations: 31.77 kB / 382 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.01053, allocations: 0 / 382 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/0.01057, allocations: 41.33 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.01057, allocations: 4 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.001155/0.01172, allocations: 245.2 kB / 382.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.365e-05/0.01182, allocations: 106.8 kB / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.01204, allocations: 220.1 kB / 382.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.01207, allocations: 29.7 kB / 382.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.01221, allocations: 162.9 kB / 382.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.01224, allocations: 23.8 kB / 382.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.508e-05/0.01232, allocations: 35.36 kB / 382.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000276/0.01259, allocations: 0.4961 MB / 383.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.01277, allocations: 51.97 kB / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002651/0.01303, allocations: 145.8 kB / 383.5 MB, free: 12.44 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003575/0.01339, allocations: 118.9 kB / 383.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.01339, allocations: 4.031 kB / 383.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004393/0.01383, allocations: 153.5 kB / 383.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.01385, allocations: 4 kB / 383.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.01386, allocations: 4 kB / 383.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.01387, allocations: 64 / 383.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005956/0.01447, allocations: 87.98 kB / 383.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00208/0.01655, allocations: 1.936 MB / 385.8 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.01672, allocations: 12.14 kB / 385.8 MB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.01674, allocations: 8 kB / 385.8 MB, free: 9.98 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.0001596/0.0169, allocations: 172.6 kB / 386 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.416e-05/0.01694, allocations: 11.89 kB / 386 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004219/0.01737, allocations: 134.3 kB / 386.1 MB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.01737, allocations: 4 kB / 386.1 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.01737, allocations: 0 / 386.1 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.01738, allocations: 0 / 386.1 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008227/0.0182, allocations: 425.3 kB / 386.6 MB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.0182, allocations: 0 / 386.6 MB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.01834, allocations: 23.92 kB / 386.6 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.01834, allocations: 0 / 386.6 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.01835, allocations: 0 / 386.6 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/0.01836, allocations: 3.984 kB / 386.6 MB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01836, allocations: 4 kB / 386.6 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004905/0.01885, allocations: 275.8 kB / 386.9 MB, free: 8.871 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.499e-05/0.01888, allocations: 11.89 kB / 386.9 MB, free: 8.859 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.0189, allocations: 4 kB / 386.9 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.01909, allocations: 11.98 kB / 386.9 MB, free: 8.844 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.186e-05/0.01916, allocations: 4 kB / 386.9 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.01917, allocations: 7.984 kB / 386.9 MB, free: 8.832 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001343/0.0193, allocations: 155.2 kB / 387 MB, free: 8.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01931, allocations: 3.938 kB / 387 MB, free: 8.676 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002838/0.01959, allocations: 32 kB / 387.1 MB, free: 8.645 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.0001458/0.01973, allocations: 95.19 kB / 387.2 MB, free: 8.543 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001128/0.02086, allocations: 163.7 kB / 387.3 MB, free: 8.379 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.02086, allocations: 0 / 387.3 MB, free: 8.379 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002035/0.02107, allocations: 59.59 kB / 387.4 MB, free: 8.316 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.02137, allocations: 19.8 kB / 387.4 MB, free: 8.297 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.02252, allocations: 322.3 kB / 387.7 MB, free: 7.949 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.603e-05/0.02262, allocations: 84.31 kB / 387.8 MB, free: 7.848 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.529e-05/0.02269, allocations: 16.48 kB / 387.8 MB, free: 7.832 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.762e-05/0.02276, allocations: 16.48 kB / 387.8 MB, free: 7.812 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02276, allocations: 4 kB / 387.8 MB, free: 7.809 MB / 362.7 MB Notification: Performance of Templates: time 0.005836/0.0286, allocations: 1.869 MB / 389.7 MB, free: 5.949 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.000108131906018]