Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001448/0.001448, allocations: 122.7 kB / 18.46 MB, free: 4.59 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.001872/0.001872, allocations: 211.3 kB / 21.4 MB, free: 1.645 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.614/1.614, allocations: 227.4 MB / 251.6 MB, free: 40 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2334/0.2334, allocations: 46.18 MB / 351.1 MB, free: 14.26 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor") translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002353/0.002353, allocations: 75.67 kB / 490.2 MB, free: 27.93 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1431, allocations: 62.45 MB / 0.5397 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003273/0.1464, allocations: 1.909 MB / 0.5415 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.1475, allocations: 0.5961 MB / 0.5421 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.101e-05/0.1476, allocations: 0 / 0.5421 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.777e-05/0.1476, allocations: 15.8 kB / 0.5421 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002183/0.1479, allocations: 39.69 kB / 0.5422 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002699/0.1482, allocations: 83.77 kB / 0.5422 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.1484, allocations: 151.4 kB / 0.5424 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.1485, allocations: 45.02 kB / 0.5424 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002716/0.1488, allocations: 67.77 kB / 0.5425 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.149, allocations: 71.69 kB / 0.5426 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.562e-05/0.149, allocations: 12 kB / 0.5426 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.472e-05/0.1491, allocations: 27.92 kB / 0.5426 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.59e-05/0.1492, allocations: 27.92 kB / 0.5426 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.716e-05/0.1493, allocations: 55.72 kB / 0.5427 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000277/0.1495, allocations: 143.5 kB / 0.5428 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1496, allocations: 8 kB / 0.5428 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1496, allocations: 0 / 0.5428 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.256e-06/0.1496, allocations: 0 / 0.5428 GB, free: 0.9805 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.0008985/0.1505, allocations: 450.9 kB / 0.5433 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.1505, allocations: 12.03 kB / 0.5433 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003473/0.1509, allocations: 44.81 kB / 0.5433 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.1511, allocations: 184.2 kB / 0.5435 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.1511, allocations: 8.375 kB / 0.5435 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/0.1512, allocations: 8.375 kB / 0.5435 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003772/0.1516, allocations: 146.6 kB / 0.5436 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.1516, allocations: 0 / 0.5436 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.1516, allocations: 0 / 0.5436 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.1516, allocations: 8 kB / 0.5436 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003537/0.152, allocations: 95.92 kB / 0.5437 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008401/0.1528, allocations: 455.4 kB / 0.5442 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003005/0.1531, allocations: 90.53 kB / 0.5443 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.1533, allocations: 36.92 kB / 0.5443 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.1533, allocations: 0 / 0.5443 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.1534, allocations: 42.55 kB / 0.5443 GB, free: 15.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 2.655e-06/0.1534, allocations: 0 / 0.5443 GB, free: 15.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.001384/0.1548, allocations: 317.2 kB / 0.5446 GB, free: 14.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.956e-05/0.1548, allocations: 110.8 kB / 0.5447 GB, free: 14.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.155, allocations: 160.2 kB / 0.5449 GB, free: 14.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.155, allocations: 25.7 kB / 0.5449 GB, free: 14.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.415e-05/0.1551, allocations: 112.2 kB / 0.545 GB, free: 14.49 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.1551, allocations: 27.72 kB / 0.5451 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.109e-05/0.1552, allocations: 29.7 kB / 0.5451 GB, free: 14.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.1553, allocations: 318.8 kB / 0.5454 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/0.1556, allocations: 63.94 kB / 0.5454 GB, free: 14.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002478/0.1558, allocations: 92.23 kB / 0.5455 GB, free: 13.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004315/0.1563, allocations: 134.5 kB / 0.5457 GB, free: 13.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1563, allocations: 0 / 0.5457 GB, free: 13.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005152/0.1568, allocations: 173.7 kB / 0.5458 GB, free: 13.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1568, allocations: 11.94 kB / 0.5458 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1568, allocations: 3.938 kB / 0.5458 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.1569, allocations: 0 / 0.5458 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005681/0.1574, allocations: 87.97 kB / 0.5459 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/0.159, allocations: 1.501 MB / 0.5474 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/0.1592, allocations: 28.12 kB / 0.5474 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/0.1592, allocations: 12 kB / 0.5474 GB, free: 11.84 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.0001121/0.1593, allocations: 117.8 kB / 0.5475 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.794e-05/0.1594, allocations: 11.95 kB / 0.5476 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005091/0.1599, allocations: 162.3 kB / 0.5477 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1599, allocations: 4 kB / 0.5477 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.1599, allocations: 0 / 0.5477 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1599, allocations: 0 / 0.5477 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008079/0.1607, allocations: 466.3 kB / 0.5482 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1608, allocations: 0 / 0.5482 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.1609, allocations: 32.03 kB / 0.5482 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1609, allocations: 0 / 0.5482 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.1609, allocations: 3.984 kB / 0.5482 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.409e-05/0.161, allocations: 3.938 kB / 0.5482 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.161, allocations: 4 kB / 0.5482 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005156/0.1615, allocations: 247.3 kB / 0.5484 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-05/0.1616, allocations: 93.05 kB / 0.5485 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.1616, allocations: 4 kB / 0.5485 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.1618, allocations: 27.91 kB / 0.5486 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.594e-05/0.1619, allocations: 0 / 0.5486 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.1619, allocations: 11.92 kB / 0.5486 GB, free: 10.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.764e-05/0.162, allocations: 114.2 kB / 0.5487 GB, free: 10.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.162, allocations: 4 kB / 0.5487 GB, free: 10.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002579/0.1622, allocations: 28 kB / 0.5487 GB, free: 10.43 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.0001104/0.1624, allocations: 99.19 kB / 0.5488 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008738/0.1632, allocations: 175.9 kB / 0.549 GB, free: 10.15 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1633, allocations: 0 / 0.549 GB, free: 10.15 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000228/0.1635, allocations: 63.89 kB / 0.549 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.1638, allocations: 12 kB / 0.549 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.1651, allocations: 388.4 kB / 0.5494 GB, free: 9.668 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.1654, allocations: 0.7002 MB / 0.5501 GB, free: 8.941 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.8e-05/0.1655, allocations: 8.422 kB / 0.5501 GB, free: 8.934 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.617e-05/0.1656, allocations: 23.42 kB / 0.5501 GB, free: 8.91 MB / 414.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1656, allocations: 0 / 0.5501 GB, free: 8.91 MB / 414.1 MB Notification: Performance of Templates: time 0.004966/0.1705, allocations: 1.709 MB / 0.5518 GB, free: 7.207 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.458402859978378]