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.00183/0.00183, allocations: 116.9 kB / 19.13 MB, free: 3.945 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.00214/0.00214, allocations: 214.6 kB / 22.08 MB, free: 0.9922 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.498/1.498, allocations: 227.4 MB / 252.3 MB, free: 264 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.2447/0.2447, allocations: 46.16 MB / 351.8 MB, free: 14.31 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.002314/0.002314, allocations: 77.5 kB / 490.9 MB, free: 27.89 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1377, allocations: 62.44 MB / 0.5403 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003454/0.1412, allocations: 1.926 MB / 0.5422 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.1424, allocations: 0.6 MB / 0.5428 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.631e-05/0.1424, allocations: 0 / 0.5428 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.288e-05/0.1425, allocations: 11.86 kB / 0.5428 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002134/0.1427, allocations: 39.7 kB / 0.5428 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002813/0.143, allocations: 83.81 kB / 0.5429 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.1432, allocations: 147.4 kB / 0.5431 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.1434, allocations: 45.03 kB / 0.5431 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002264/0.1436, allocations: 75.69 kB / 0.5432 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.1437, allocations: 63.75 kB / 0.5432 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.821e-05/0.1438, allocations: 12 kB / 0.5432 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.728e-05/0.1438, allocations: 24 kB / 0.5433 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.577e-05/0.1439, allocations: 27.91 kB / 0.5433 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.612e-05/0.144, allocations: 63.66 kB / 0.5434 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.1442, allocations: 139.5 kB / 0.5435 GB, free: 1.008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1442, allocations: 0 / 0.5435 GB, free: 1.008 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1442, allocations: 4 kB / 0.5435 GB, free: 1.004 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.1442, allocations: 3.984 kB / 0.5435 GB, free: 1 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.0008296/0.1451, allocations: 446.9 kB / 0.5439 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.1451, allocations: 8.031 kB / 0.5439 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003008/0.1454, allocations: 48.81 kB / 0.544 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.1456, allocations: 192.2 kB / 0.5442 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.1456, allocations: 8.375 kB / 0.5442 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.174e-05/0.1457, allocations: 4.375 kB / 0.5442 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003399/0.146, allocations: 142.2 kB / 0.5443 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.146, allocations: 0 / 0.5443 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.1461, allocations: 7.938 kB / 0.5443 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.1461, allocations: 4 kB / 0.5443 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003564/0.1464, allocations: 95.92 kB / 0.5444 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008519/0.1473, allocations: 451.4 kB / 0.5448 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003328/0.1477, allocations: 94.45 kB / 0.5449 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.1478, allocations: 40.92 kB / 0.545 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.1478, allocations: 0 / 0.545 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.1479, allocations: 30.56 kB / 0.545 GB, free: 15.28 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.1479, allocations: 4 kB / 0.545 GB, free: 15.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.001433/0.1493, allocations: 321 kB / 0.5453 GB, free: 14.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.044e-05/0.1494, allocations: 114.8 kB / 0.5454 GB, free: 14.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.1496, allocations: 151.5 kB / 0.5456 GB, free: 14.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.1496, allocations: 29.7 kB / 0.5456 GB, free: 14.63 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.321e-05/0.1497, allocations: 108.2 kB / 0.5457 GB, free: 14.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.1497, allocations: 27.78 kB / 0.5457 GB, free: 14.49 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.289e-05/0.1498, allocations: 25.7 kB / 0.5457 GB, free: 14.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.15, allocations: 322.8 kB / 0.5461 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/0.1502, allocations: 59.95 kB / 0.5461 GB, free: 14.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002658/0.1505, allocations: 92.23 kB / 0.5462 GB, free: 13.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004547/0.1509, allocations: 138.5 kB / 0.5463 GB, free: 13.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.151, allocations: 0 / 0.5463 GB, free: 13.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005489/0.1515, allocations: 169.5 kB / 0.5465 GB, free: 13.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.1515, allocations: 11.94 kB / 0.5465 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.1515, allocations: 4 kB / 0.5465 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.1516, allocations: 0 / 0.5465 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006034/0.1522, allocations: 95.91 kB / 0.5466 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/0.1538, allocations: 1.498 MB / 0.5481 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.154, allocations: 28.12 kB / 0.5481 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.154, allocations: 8 kB / 0.5481 GB, free: 11.86 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.0001127/0.1541, allocations: 117.8 kB / 0.5482 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.977e-05/0.1542, allocations: 11.95 kB / 0.5482 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005207/0.1547, allocations: 174.3 kB / 0.5484 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1547, allocations: 4 kB / 0.5484 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.1547, allocations: 0 / 0.5484 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1548, allocations: 3.984 kB / 0.5484 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008652/0.1556, allocations: 458.3 kB / 0.5488 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1556, allocations: 4.125 kB / 0.5488 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.1558, allocations: 27.97 kB / 0.5489 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1558, allocations: 3.938 kB / 0.5489 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.1558, allocations: 4 kB / 0.5489 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.1558, allocations: 3.938 kB / 0.5489 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1559, allocations: 4 kB / 0.5489 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005485/0.1564, allocations: 247.4 kB / 0.5491 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.762e-05/0.1565, allocations: 93 kB / 0.5492 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.1565, allocations: 0 / 0.5492 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.1567, allocations: 27.91 kB / 0.5492 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.205e-05/0.1568, allocations: 11.98 kB / 0.5492 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.1568, allocations: 0 / 0.5492 GB, free: 10.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.264e-05/0.1569, allocations: 112.9 kB / 0.5493 GB, free: 10.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1569, allocations: 0 / 0.5493 GB, free: 10.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000275/0.1572, allocations: 32 kB / 0.5494 GB, free: 10.45 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.0001137/0.1573, allocations: 99.23 kB / 0.5495 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009095/0.1582, allocations: 171.9 kB / 0.5496 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1582, allocations: 0 / 0.5496 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002348/0.1585, allocations: 59.95 kB / 0.5497 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.1588, allocations: 16 kB / 0.5497 GB, free: 10.1 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.1602, allocations: 413.4 kB / 0.5501 GB, free: 9.664 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.1606, allocations: 0.7079 MB / 0.5508 GB, free: 8.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.014e-05/0.1606, allocations: 11.44 kB / 0.5508 GB, free: 8.918 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1606, allocations: 0 / 0.5508 GB, free: 8.918 MB / 414.1 MB Notification: Performance of Templates: time 0.003933/0.1646, allocations: 1.838 MB / 0.5526 GB, free: 7.082 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.653617323026992]