Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001391/0.001391, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 14.72 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.001597/0.001597, allocations: 212.4 kB / 25.13 MB, free: 3.605 MB / 14.72 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.497/1.497, allocations: 230.4 MB / 258.7 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2379/0.2379, allocations: 46.93 MB / 362.1 MB, free: 4.207 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002447/0.002447, allocations: 83.86 kB / 0.4978 GB, free: 7.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3627, allocations: 66.08 MB / 0.5623 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003227/0.3659, allocations: 1.909 MB / 0.5642 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.367, allocations: 0.6048 MB / 0.5648 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.399e-05/0.3671, allocations: 0 / 0.5648 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.662e-05/0.3671, allocations: 19.8 kB / 0.5648 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000211/0.3673, allocations: 35.7 kB / 0.5648 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002947/0.3676, allocations: 87.81 kB / 0.5649 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001979/0.3678, allocations: 155.4 kB / 0.5651 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.3679, allocations: 32.09 kB / 0.5651 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002263/0.3682, allocations: 71.78 kB / 0.5652 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.3683, allocations: 67.67 kB / 0.5652 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.903e-05/0.3683, allocations: 12 kB / 0.5652 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.729e-05/0.3684, allocations: 16 kB / 0.5653 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.105e-05/0.3684, allocations: 31.91 kB / 0.5653 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.067e-05/0.3685, allocations: 59.73 kB / 0.5653 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.3687, allocations: 147.1 kB / 0.5655 GB, free: 1.016 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3687, allocations: 4 kB / 0.5655 GB, free: 1.012 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3687, allocations: 0 / 0.5655 GB, free: 1.012 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.3687, allocations: 0 / 0.5655 GB, free: 1.012 MB / 398.1 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.0008325/0.3696, allocations: 373.8 kB / 0.5658 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.3696, allocations: 12.03 kB / 0.5659 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000312/0.3699, allocations: 48.75 kB / 0.5659 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.3701, allocations: 126.4 kB / 0.566 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.3701, allocations: 8.375 kB / 0.566 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.3701, allocations: 4.375 kB / 0.566 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003842/0.3705, allocations: 202.4 kB / 0.5662 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.3705, allocations: 0 / 0.5662 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.3705, allocations: 0 / 0.5662 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.3706, allocations: 4 kB / 0.5662 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003225/0.3709, allocations: 95.92 kB / 0.5663 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009394/0.3718, allocations: 422.4 kB / 0.5667 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003483/0.3722, allocations: 90.52 kB / 0.5668 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.3723, allocations: 40.92 kB / 0.5668 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.3723, allocations: 0 / 0.5668 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.3724, allocations: 34.56 kB / 0.5669 GB, free: 15.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.3724, allocations: 3.938 kB / 0.5669 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.001459/0.3738, allocations: 317.1 kB / 0.5672 GB, free: 15.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/0.374, allocations: 102.8 kB / 0.5673 GB, free: 14.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.3742, allocations: 169.4 kB / 0.5674 GB, free: 14.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.3742, allocations: 25.7 kB / 0.5675 GB, free: 14.78 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.6e-05/0.3743, allocations: 108.2 kB / 0.5676 GB, free: 14.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.3743, allocations: 19.86 kB / 0.5676 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.05e-05/0.3744, allocations: 29.7 kB / 0.5676 GB, free: 14.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3745, allocations: 322.8 kB / 0.5679 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002242/0.3747, allocations: 59.95 kB / 0.568 GB, free: 14.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002712/0.375, allocations: 143.6 kB / 0.5681 GB, free: 14.06 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000422/0.3754, allocations: 142.4 kB / 0.5683 GB, free: 13.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.3754, allocations: 0 / 0.5683 GB, free: 13.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000533/0.376, allocations: 177.8 kB / 0.5684 GB, free: 13.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.376, allocations: 15.92 kB / 0.5684 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.376, allocations: 0 / 0.5684 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.376, allocations: 0 / 0.5684 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006068/0.3766, allocations: 87.97 kB / 0.5685 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001773/0.3784, allocations: 1.4 MB / 0.5699 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002239/0.3786, allocations: 24.09 kB / 0.5699 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.3786, allocations: 4 kB / 0.5699 GB, free: 12.08 MB / 414.1 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.0001303/0.3787, allocations: 129.7 kB / 0.57 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.093e-05/0.3788, allocations: 7.953 kB / 0.5701 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005051/0.3793, allocations: 166.3 kB / 0.5702 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3793, allocations: 0 / 0.5702 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.62e-07/0.3793, allocations: 0 / 0.5702 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3793, allocations: 0 / 0.5702 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008529/0.3802, allocations: 437.4 kB / 0.5706 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/0.3802, allocations: 4.062 kB / 0.5706 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.3803, allocations: 27.97 kB / 0.5707 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3803, allocations: 0 / 0.5707 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.3803, allocations: 0 / 0.5707 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.3803, allocations: 7.938 kB / 0.5707 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3803, allocations: 0 / 0.5707 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005214/0.3809, allocations: 263.2 kB / 0.5709 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.052e-05/0.3809, allocations: 7.953 kB / 0.5709 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.3809, allocations: 4 kB / 0.5709 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.3811, allocations: 27.91 kB / 0.571 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.628e-05/0.3812, allocations: 7.984 kB / 0.571 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-06/0.3812, allocations: 0 / 0.571 GB, free: 10.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001141/0.3813, allocations: 117.7 kB / 0.5711 GB, free: 10.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3813, allocations: 4 kB / 0.5711 GB, free: 10.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.3815, allocations: 28 kB / 0.5711 GB, free: 10.79 MB / 414.1 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.0001078/0.3817, allocations: 95.25 kB / 0.5712 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008799/0.3825, allocations: 175.9 kB / 0.5714 GB, free: 10.51 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3825, allocations: 0 / 0.5714 GB, free: 10.51 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002331/0.3828, allocations: 64.34 kB / 0.5714 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.3831, allocations: 16 kB / 0.5714 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.3844, allocations: 376.4 kB / 0.5718 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.3848, allocations: 0.7002 MB / 0.5725 GB, free: 9.312 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.09e-05/0.3848, allocations: 24.34 kB / 0.5725 GB, free: 9.289 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.365e-05/0.3849, allocations: 11.44 kB / 0.5725 GB, free: 9.277 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3849, allocations: 0 / 0.5725 GB, free: 9.277 MB / 414.1 MB Notification: Performance of Templates: time 0.005051/0.39, allocations: 1.775 MB / 0.5743 GB, free: 7.504 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.181991022080183]