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.001599/0.001599, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.001732/0.001732, allocations: 206.6 kB / 24.47 MB, free: 3.977 MB / 14.72 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.538/1.538, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.1 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.2547/0.2547, allocations: 46.96 MB / 361.6 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002046/0.002046, allocations: 67.91 kB / 0.4973 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3834, allocations: 66.04 MB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003552/0.3869, allocations: 1.843 MB / 0.5636 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.3881, allocations: 0.5543 MB / 0.5641 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.25e-05/0.3882, allocations: 4 kB / 0.5642 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.667e-05/0.3882, allocations: 11.86 kB / 0.5642 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002383/0.3885, allocations: 43.69 kB / 0.5642 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003103/0.3888, allocations: 87.45 kB / 0.5643 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.389, allocations: 159.4 kB / 0.5644 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.3891, allocations: 24.95 kB / 0.5645 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002382/0.3894, allocations: 83.69 kB / 0.5645 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.3895, allocations: 59.77 kB / 0.5646 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.063e-05/0.3895, allocations: 12 kB / 0.5646 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.789e-05/0.3896, allocations: 23.98 kB / 0.5646 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.133e-05/0.3896, allocations: 23.92 kB / 0.5647 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.021e-05/0.3897, allocations: 59.7 kB / 0.5647 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.3899, allocations: 142.2 kB / 0.5648 GB, free: 1.027 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.3899, allocations: 4 kB / 0.5649 GB, free: 1.023 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.178e-06/0.3899, allocations: 4 kB / 0.5649 GB, free: 1.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.3899, allocations: 0 / 0.5649 GB, free: 1.02 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.000826/0.3908, allocations: 365.8 kB / 0.5652 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.3908, allocations: 16.02 kB / 0.5652 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003311/0.3911, allocations: 48.83 kB / 0.5653 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.3913, allocations: 122.4 kB / 0.5654 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.3913, allocations: 12.31 kB / 0.5654 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.3913, allocations: 4.375 kB / 0.5654 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004015/0.3917, allocations: 206.5 kB / 0.5656 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.3918, allocations: 0 / 0.5656 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.3918, allocations: 0 / 0.5656 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.3918, allocations: 0 / 0.5656 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003383/0.3921, allocations: 91.92 kB / 0.5657 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009217/0.393, allocations: 379.1 kB / 0.566 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000343/0.3934, allocations: 90.45 kB / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.3935, allocations: 44.92 kB / 0.5662 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.3936, allocations: 0 / 0.5662 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.3936, allocations: 34.55 kB / 0.5662 GB, free: 15.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 7.72e-07/0.3936, allocations: 0 / 0.5662 GB, free: 15.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.001443/0.395, allocations: 313.1 kB / 0.5665 GB, free: 15.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.031e-05/0.3951, allocations: 106.8 kB / 0.5666 GB, free: 15.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.3953, allocations: 157.5 kB / 0.5668 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/0.3953, allocations: 29.7 kB / 0.5668 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.3955, allocations: 112.2 kB / 0.5669 GB, free: 14.74 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.3955, allocations: 19.8 kB / 0.5669 GB, free: 14.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-05/0.3956, allocations: 29.7 kB / 0.5669 GB, free: 14.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.3957, allocations: 318.8 kB / 0.5672 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/0.3959, allocations: 63.94 kB / 0.5673 GB, free: 14.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002882/0.3962, allocations: 147.6 kB / 0.5674 GB, free: 14.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004418/0.3967, allocations: 134.5 kB / 0.5676 GB, free: 13.99 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3967, allocations: 0 / 0.5676 GB, free: 13.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005517/0.3972, allocations: 177.5 kB / 0.5677 GB, free: 13.81 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.3972, allocations: 8 kB / 0.5678 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.3973, allocations: 0 / 0.5678 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.3973, allocations: 3.938 kB / 0.5678 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006503/0.3979, allocations: 91.84 kB / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001679/0.3996, allocations: 1.366 MB / 0.5692 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002385/0.3998, allocations: 32.12 kB / 0.5692 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.3999, allocations: 4 kB / 0.5692 GB, free: 12.2 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.0001405/0.4, allocations: 125.8 kB / 0.5693 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.05e-05/0.4, allocations: 7.953 kB / 0.5693 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005389/0.4006, allocations: 166.2 kB / 0.5695 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.4006, allocations: 4.188 kB / 0.5695 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.4006, allocations: 4.062 kB / 0.5695 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.4006, allocations: 3.938 kB / 0.5695 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008287/0.4014, allocations: 390 kB / 0.5699 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.4014, allocations: 0 / 0.5699 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.4016, allocations: 31.91 kB / 0.5699 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.4016, allocations: 0 / 0.5699 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.4016, allocations: 0 / 0.5699 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4016, allocations: 0 / 0.5699 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.4016, allocations: 3.984 kB / 0.5699 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005414/0.4022, allocations: 255.6 kB / 0.5702 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.561e-05/0.4022, allocations: 12.22 kB / 0.5702 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.4022, allocations: 4 kB / 0.5702 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.4024, allocations: 23.97 kB / 0.5702 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.67e-05/0.4025, allocations: 11.98 kB / 0.5702 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.4025, allocations: 7.922 kB / 0.5702 GB, free: 11.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.992e-05/0.4026, allocations: 109.7 kB / 0.5703 GB, free: 11 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4026, allocations: 0 / 0.5703 GB, free: 11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002791/0.4029, allocations: 35.88 kB / 0.5704 GB, free: 10.96 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.0001148/0.403, allocations: 95.25 kB / 0.5704 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009546/0.4039, allocations: 175.8 kB / 0.5706 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4039, allocations: 0 / 0.5706 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002435/0.4042, allocations: 68.02 kB / 0.5707 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.4046, allocations: 11.94 kB / 0.5707 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.406, allocations: 384.9 kB / 0.5711 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.44e-05/0.4061, allocations: 84.81 kB / 0.5711 GB, free: 10.1 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.069e-05/0.4062, allocations: 12.44 kB / 0.5712 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.913e-05/0.4062, allocations: 19.36 kB / 0.5712 GB, free: 10.07 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4062, allocations: 0 / 0.5712 GB, free: 10.07 MB / 414.1 MB Notification: Performance of Templates: time 0.005172/0.4114, allocations: 1.971 MB / 0.5731 GB, free: 8.109 MB / 414.1 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=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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.323236796990386]