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.007416/0.007416, allocations: 109.2 kB / 21.98 MB, free: 5.184 MB / 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.001813/0.001813, allocations: 220.6 kB / 25.29 MB, free: 3.203 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.445/1.445, allocations: 230.5 MB / 258.9 MB, free: 7.984 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.2347/0.2347, allocations: 46.93 MB / 362.3 MB, free: 4.176 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.00235/0.00235, allocations: 84.19 kB / 0.4982 GB, free: 7.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3432, allocations: 66.07 MB / 0.5627 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003529/0.3467, allocations: 1.928 MB / 0.5646 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.3479, allocations: 0.6049 MB / 0.5652 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.032e-05/0.348, allocations: 0 / 0.5652 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.05e-05/0.348, allocations: 15.8 kB / 0.5652 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002258/0.3483, allocations: 39.7 kB / 0.5652 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003025/0.3486, allocations: 91.73 kB / 0.5653 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002051/0.3488, allocations: 147.4 kB / 0.5655 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.3489, allocations: 28.95 kB / 0.5655 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002279/0.3491, allocations: 83.69 kB / 0.5656 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.3492, allocations: 63.77 kB / 0.5656 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.3493, allocations: 12 kB / 0.5656 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.811e-05/0.3493, allocations: 19.98 kB / 0.5657 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.602e-05/0.3494, allocations: 31.91 kB / 0.5657 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.579e-05/0.3494, allocations: 59.66 kB / 0.5658 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.3497, allocations: 142.2 kB / 0.5659 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3497, allocations: 0 / 0.5659 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3497, allocations: 0 / 0.5659 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.3497, allocations: 4 kB / 0.5659 GB, free: 0.9492 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.0008253/0.3505, allocations: 373.8 kB / 0.5662 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.3505, allocations: 12.02 kB / 0.5663 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003019/0.3508, allocations: 44.83 kB / 0.5663 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.351, allocations: 136.8 kB / 0.5664 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.351, allocations: 8.312 kB / 0.5664 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.3511, allocations: 8.375 kB / 0.5664 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003464/0.3514, allocations: 140.5 kB / 0.5666 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.3514, allocations: 0 / 0.5666 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.3515, allocations: 8 kB / 0.5666 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.3515, allocations: 0 / 0.5666 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003239/0.3518, allocations: 91.92 kB / 0.5667 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008862/0.3527, allocations: 426.5 kB / 0.5671 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/0.353, allocations: 86.47 kB / 0.5672 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.3531, allocations: 40.92 kB / 0.5672 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.3532, allocations: 0 / 0.5672 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.3532, allocations: 34.56 kB / 0.5672 GB, free: 15.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3532, allocations: 0 / 0.5672 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.001409/0.3546, allocations: 325.1 kB / 0.5675 GB, free: 15.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.823e-05/0.3547, allocations: 102.8 kB / 0.5676 GB, free: 14.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.3548, allocations: 157.5 kB / 0.5678 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.149e-05/0.3549, allocations: 33.64 kB / 0.5678 GB, free: 14.78 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.225e-05/0.3549, allocations: 116.2 kB / 0.5679 GB, free: 14.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.355, allocations: 19.86 kB / 0.568 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.156e-05/0.355, allocations: 25.7 kB / 0.568 GB, free: 14.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3552, allocations: 318.8 kB / 0.5683 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002265/0.3554, allocations: 59.94 kB / 0.5683 GB, free: 14.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.3557, allocations: 100.2 kB / 0.5684 GB, free: 14.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004196/0.3561, allocations: 134.5 kB / 0.5686 GB, free: 13.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3561, allocations: 0 / 0.5686 GB, free: 13.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005066/0.3566, allocations: 177.5 kB / 0.5687 GB, free: 13.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.3566, allocations: 7.938 kB / 0.5687 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3566, allocations: 4 kB / 0.5687 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.3566, allocations: 0 / 0.5687 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005917/0.3572, allocations: 95.91 kB / 0.5688 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001627/0.3588, allocations: 1.389 MB / 0.5702 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/0.3591, allocations: 24 kB / 0.5702 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.3591, allocations: 8 kB / 0.5702 GB, free: 12.15 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.0001141/0.3592, allocations: 129.8 kB / 0.5704 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.709e-05/0.3592, allocations: 7.953 kB / 0.5704 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005013/0.3597, allocations: 170.2 kB / 0.5705 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.3597, allocations: 4.188 kB / 0.5705 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.72e-07/0.3597, allocations: 0 / 0.5705 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3597, allocations: 3.938 kB / 0.5705 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008447/0.3606, allocations: 437.4 kB / 0.5709 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3606, allocations: 0 / 0.5709 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.3607, allocations: 27.97 kB / 0.571 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.3607, allocations: 0 / 0.571 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.3608, allocations: 4 kB / 0.571 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.3608, allocations: 4 kB / 0.571 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-06/0.3608, allocations: 4 kB / 0.571 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005172/0.3613, allocations: 255.4 kB / 0.5712 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.708e-05/0.3613, allocations: 7.953 kB / 0.5712 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.3613, allocations: 3.984 kB / 0.5712 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.3616, allocations: 39.8 kB / 0.5713 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.024e-05/0.3616, allocations: 3.984 kB / 0.5713 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.3616, allocations: 4 kB / 0.5713 GB, free: 10.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.633e-05/0.3617, allocations: 113.3 kB / 0.5714 GB, free: 10.88 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3617, allocations: 4 kB / 0.5714 GB, free: 10.87 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002685/0.362, allocations: 24 kB / 0.5714 GB, free: 10.85 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.0001126/0.3621, allocations: 99.25 kB / 0.5715 GB, free: 10.74 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009509/0.363, allocations: 167.9 kB / 0.5717 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3631, allocations: 0 / 0.5717 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002342/0.3633, allocations: 64.41 kB / 0.5717 GB, free: 10.51 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.3636, allocations: 15.38 kB / 0.5718 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.365, allocations: 414.6 kB / 0.5721 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004189/0.3654, allocations: 0.7041 MB / 0.5728 GB, free: 9.328 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.131e-05/0.3654, allocations: 11.44 kB / 0.5728 GB, free: 9.316 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3654, allocations: 0 / 0.5728 GB, free: 9.316 MB / 414.1 MB Notification: Performance of Templates: time 0.004184/0.3696, allocations: 1.856 MB / 0.5747 GB, free: 7.465 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 -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: 7.607537823962048]