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.001525/0.001525, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.002525/0.002525, allocations: 217.4 kB / 24.47 MB, free: 4.359 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.66/1.66, allocations: 230.2 MB / 257.8 MB, free: 8.508 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.2567/0.2567, allocations: 46.88 MB / 361.1 MB, free: 4.656 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-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.002392/0.002392, allocations: 79.86 kB / 0.4967 GB, free: 7.863 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4476/0.45, allocations: 65.98 MB / 0.5612 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.005232/0.4552, allocations: 1.935 MB / 0.5631 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001881/0.4571, allocations: 0.6048 MB / 0.5637 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.4572, allocations: 0 / 0.5637 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.4573, allocations: 19.8 kB / 0.5637 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004799/0.4578, allocations: 39.69 kB / 0.5637 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000571/0.4584, allocations: 79.83 kB / 0.5638 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004885/0.4589, allocations: 155.4 kB / 0.5639 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000312/0.4592, allocations: 31.72 kB / 0.564 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005287/0.4597, allocations: 71.75 kB / 0.564 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002458/0.46, allocations: 75.69 kB / 0.5641 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.582e-05/0.46, allocations: 12 kB / 0.5641 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.4601, allocations: 16 kB / 0.5641 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.655e-05/0.4602, allocations: 23.92 kB / 0.5642 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.4603, allocations: 63.7 kB / 0.5642 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004184/0.4607, allocations: 139.5 kB / 0.5643 GB, free: 1.781 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/0.4607, allocations: 0 / 0.5643 GB, free: 1.781 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.907e-06/0.4607, allocations: 7.938 kB / 0.5644 GB, free: 1.773 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.4608, allocations: 0 / 0.5644 GB, free: 1.773 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.00141/0.4622, allocations: 458.8 kB / 0.5648 GB, free: 1.277 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.724e-05/0.4622, allocations: 8.031 kB / 0.5648 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00046/0.4627, allocations: 48.81 kB / 0.5648 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/0.463, allocations: 180.3 kB / 0.565 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.463, allocations: 8.375 kB / 0.565 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.893e-05/0.4631, allocations: 8.375 kB / 0.565 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005378/0.4636, allocations: 142.6 kB / 0.5652 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.4636, allocations: 0 / 0.5652 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.422e-05/0.4636, allocations: 0 / 0.5652 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.4637, allocations: 4 kB / 0.5652 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004974/0.4642, allocations: 95.86 kB / 0.5653 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/0.4655, allocations: 467.4 kB / 0.5657 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004515/0.466, allocations: 90.52 kB / 0.5658 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002078/0.4662, allocations: 36.92 kB / 0.5658 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.4662, allocations: 0 / 0.5658 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/0.4662, allocations: 42.5 kB / 0.5659 GB, free: 40 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.4662, allocations: 0 / 0.5659 GB, free: 40 kB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.002049/0.4683, allocations: 321.1 kB / 0.5662 GB, free: 15.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.4684, allocations: 102.8 kB / 0.5663 GB, free: 15.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.4686, allocations: 149.6 kB / 0.5664 GB, free: 15.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.4687, allocations: 29.64 kB / 0.5664 GB, free: 15.4 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.4688, allocations: 120.2 kB / 0.5666 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.507e-05/0.4689, allocations: 23.78 kB / 0.5666 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.972e-05/0.469, allocations: 29.7 kB / 0.5666 GB, free: 15.22 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002183/0.4692, allocations: 314.8 kB / 0.5669 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003176/0.4695, allocations: 59.94 kB / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003824/0.4699, allocations: 96.23 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00064/0.4705, allocations: 142.4 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4705, allocations: 0 / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008003/0.4713, allocations: 173.5 kB / 0.5674 GB, free: 14.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/0.4714, allocations: 7.938 kB / 0.5674 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.4714, allocations: 0 / 0.5674 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.708e-05/0.4714, allocations: 4 kB / 0.5674 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008989/0.4723, allocations: 87.97 kB / 0.5675 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002398/0.4747, allocations: 1.501 MB / 0.5689 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002981/0.475, allocations: 24 kB / 0.5689 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.475, allocations: 3.984 kB / 0.569 GB, free: 12.64 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.000193/0.4752, allocations: 129.9 kB / 0.5691 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.564e-05/0.4753, allocations: 7.953 kB / 0.5691 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007697/0.476, allocations: 162.2 kB / 0.5692 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.476, allocations: 4 kB / 0.5692 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.476, allocations: 0 / 0.5692 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.476, allocations: 288 / 0.5692 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/0.4773, allocations: 474.2 kB / 0.5697 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.4773, allocations: 0 / 0.5697 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000221/0.4775, allocations: 27.97 kB / 0.5697 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.4775, allocations: 4.172 kB / 0.5697 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.4775, allocations: 3.938 kB / 0.5697 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.4775, allocations: 11.88 kB / 0.5697 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4775, allocations: 0 / 0.5697 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008201/0.4784, allocations: 259.6 kB / 0.57 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.947e-05/0.4784, allocations: 81.06 kB / 0.5701 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.562e-05/0.4785, allocations: 8 kB / 0.5701 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000318/0.4788, allocations: 31.84 kB / 0.5701 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.592e-05/0.4789, allocations: 7.984 kB / 0.5701 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.4789, allocations: 0 / 0.5701 GB, free: 11.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001538/0.479, allocations: 113.3 kB / 0.5702 GB, free: 11.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.479, allocations: 0 / 0.5702 GB, free: 11.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004642/0.4795, allocations: 28 kB / 0.5702 GB, free: 11.21 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.0001553/0.4797, allocations: 107.2 kB / 0.5703 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001311/0.481, allocations: 168 kB / 0.5705 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.481, allocations: 0 / 0.5705 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003434/0.4813, allocations: 59.89 kB / 0.5706 GB, free: 10.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000598/0.4819, allocations: 12 kB / 0.5706 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/0.484, allocations: 376.3 kB / 0.5709 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000523/0.4846, allocations: 0.7041 MB / 0.5716 GB, free: 9.734 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001127/0.4847, allocations: 12.42 kB / 0.5716 GB, free: 9.723 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.109e-05/0.4848, allocations: 15.42 kB / 0.5716 GB, free: 9.707 MB / 414.1 MB Notification: Performance of SimCode: time 6.72e-07/0.4848, allocations: 0 / 0.5716 GB, free: 9.707 MB / 414.1 MB Notification: Performance of Templates: time 0.008749/0.4935, allocations: 1.753 MB / 0.5734 GB, free: 7.961 MB / 414.1 MB " [Timeout remaining time 659] 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 cvode -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.702769593801349]