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.001618/0.001618, allocations: 123.4 kB / 17.79 MB, free: 5.258 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.001898/0.001898, allocations: 200.3 kB / 20.74 MB, free: 2.316 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.55/1.55, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2314/0.2314, allocations: 46.92 MB / 357.1 MB, free: 10.32 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+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: "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestSaturatingInductor,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_Analog_TestSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestSaturatingInductor,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_Analog_TestSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002693/0.002693, allocations: 63.89 kB / 0.4909 GB, free: 7.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1442, allocations: 65.99 MB / 0.5554 GB, free: 5.879 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003259/0.1474, allocations: 1.919 MB / 0.5572 GB, free: 3.945 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.1484, allocations: 0.5961 MB / 0.5578 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.241e-05/0.1485, allocations: 0 / 0.5578 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 4.858e-05/0.1485, allocations: 11.86 kB / 0.5578 GB, free: 3.332 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002095/0.1488, allocations: 47.69 kB / 0.5579 GB, free: 3.285 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.149, allocations: 87.7 kB / 0.558 GB, free: 3.199 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.1492, allocations: 147.5 kB / 0.5581 GB, free: 3.055 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.1493, allocations: 29.09 kB / 0.5581 GB, free: 3.027 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001909/0.1495, allocations: 71.72 kB / 0.5582 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.1496, allocations: 71.73 kB / 0.5583 GB, free: 2.887 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.36e-05/0.1497, allocations: 12 kB / 0.5583 GB, free: 2.875 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.391e-05/0.1497, allocations: 23.94 kB / 0.5583 GB, free: 2.852 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.744e-05/0.1498, allocations: 35.84 kB / 0.5583 GB, free: 2.816 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.672e-05/0.1498, allocations: 59.72 kB / 0.5584 GB, free: 2.758 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002141/0.15, allocations: 143.4 kB / 0.5585 GB, free: 2.617 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.15, allocations: 4 kB / 0.5585 GB, free: 2.613 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.15, allocations: 0 / 0.5585 GB, free: 2.613 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.1501, allocations: 0 / 0.5585 GB, free: 2.613 MB / 414.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.0008018/0.1509, allocations: 450.9 kB / 0.559 GB, free: 2.125 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.1509, allocations: 8.031 kB / 0.559 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.724e-05/0.1509, allocations: 42.73 kB / 0.559 GB, free: 2.066 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002953/0.1512, allocations: 44.81 kB / 0.559 GB, free: 2.023 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.1515, allocations: 190.1 kB / 0.5592 GB, free: 1.801 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.1515, allocations: 4.375 kB / 0.5592 GB, free: 1.797 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.1515, allocations: 8.375 kB / 0.5592 GB, free: 1.789 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003413/0.1518, allocations: 140.3 kB / 0.5594 GB, free: 1.637 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1518, allocations: 0 / 0.5594 GB, free: 1.637 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.1519, allocations: 4 kB / 0.5594 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.1519, allocations: 4 kB / 0.5594 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003401/0.1522, allocations: 95.86 kB / 0.5595 GB, free: 1.535 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008695/0.1531, allocations: 463.3 kB / 0.5599 GB, free: 1.023 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003264/0.1534, allocations: 94.52 kB / 0.56 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.1536, allocations: 40.92 kB / 0.56 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.1536, allocations: 3.938 kB / 0.56 GB, free: 0.875 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.1536, allocations: 34.55 kB / 0.5601 GB, free: 0.832 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1536, allocations: 4 kB / 0.5601 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.001388/0.155, allocations: 313.1 kB / 0.5604 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.476e-05/0.1551, allocations: 106.8 kB / 0.5605 GB, free: 396 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.1552, allocations: 153.5 kB / 0.5606 GB, free: 232 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.1552, allocations: 25.7 kB / 0.5607 GB, free: 200 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.604e-05/0.1553, allocations: 120.2 kB / 0.5608 GB, free: 72 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.1553, allocations: 15.86 kB / 0.5608 GB, free: 56 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.983e-05/0.1554, allocations: 25.7 kB / 0.5608 GB, free: 24 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.1556, allocations: 322.9 kB / 0.5611 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.1558, allocations: 63.88 kB / 0.5612 GB, free: 15.63 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002607/0.1561, allocations: 92.25 kB / 0.5613 GB, free: 15.53 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004623/0.1565, allocations: 130.5 kB / 0.5614 GB, free: 15.39 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1566, allocations: 8.125 kB / 0.5614 GB, free: 15.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005379/0.1571, allocations: 185.4 kB / 0.5616 GB, free: 15.2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1571, allocations: 11.88 kB / 0.5616 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1571, allocations: 0 / 0.5616 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.1571, allocations: 4 kB / 0.5616 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005984/0.1577, allocations: 87.97 kB / 0.5617 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001557/0.1593, allocations: 1.493 MB / 0.5631 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/0.1595, allocations: 27.91 kB / 0.5632 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.1595, allocations: 7.938 kB / 0.5632 GB, free: 13.42 MB / 430.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.0001103/0.1596, allocations: 129.9 kB / 0.5633 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.1597, allocations: 7.953 kB / 0.5633 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005387/0.1602, allocations: 162.3 kB / 0.5635 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1602, allocations: 0 / 0.5635 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.81e-07/0.1602, allocations: 0 / 0.5635 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.1602, allocations: 0 / 0.5635 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008455/0.161, allocations: 470.2 kB / 0.5639 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1611, allocations: 0 / 0.5639 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000211/0.1613, allocations: 28.03 kB / 0.5639 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1613, allocations: 4 kB / 0.5639 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.1613, allocations: 0 / 0.5639 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-06/0.1613, allocations: 7.922 kB / 0.5639 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1613, allocations: 7.938 kB / 0.5639 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005389/0.1618, allocations: 251.4 kB / 0.5642 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.138e-05/0.1619, allocations: 85.33 kB / 0.5643 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.1619, allocations: 0 / 0.5643 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/0.1621, allocations: 31.91 kB / 0.5643 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/0.1622, allocations: 11.98 kB / 0.5643 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.1622, allocations: 0 / 0.5643 GB, free: 12.15 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.222e-05/0.1623, allocations: 113.3 kB / 0.5644 GB, free: 12.04 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1623, allocations: 0 / 0.5644 GB, free: 12.04 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000273/0.1625, allocations: 28 kB / 0.5644 GB, free: 12.01 MB / 430.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.0008573/0.1634, allocations: 0.7826 MB / 0.5652 GB, free: 11.2 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009062/0.1643, allocations: 168 kB / 0.5654 GB, free: 11.04 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1643, allocations: 0 / 0.5654 GB, free: 11.04 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002372/0.1645, allocations: 67.88 kB / 0.5654 GB, free: 10.97 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.1649, allocations: 17.97 kB / 0.5655 GB, free: 10.95 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003706/0.1686, allocations: 1.984 MB / 0.5674 GB, free: 8.879 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.169, allocations: 0.6963 MB / 0.5681 GB, free: 8.156 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.765e-05/0.169, allocations: 20.36 kB / 0.5681 GB, free: 8.137 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.28e-05/0.1691, allocations: 35.42 kB / 0.5681 GB, free: 8.102 MB / 430.1 MB Notification: Performance of SimCode: time 1.202e-06/0.1691, allocations: 0 / 0.5681 GB, free: 8.102 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.197, allocations: 3.2 MB / 0.5712 GB, free: 5.047 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.16, allocations: 7.938 kB / 0.5713 GB, free: 5.039 MB / 430.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Electrical_Analog_TestSaturatingInductor_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0_ModelicaTest_Electrical_Analog_TestSaturatingInductor.fmu > ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 52.5] 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: 15.213652438018471]