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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=2000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor") translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008645/0.0008645, allocations: 94.3 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001005/0.001005, allocations: 208.2 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 227.7 MB / 246.8 MB, free: 11.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2391/0.2391, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003104/0.0003109, allocations: 8.234 kB / 419.5 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1202, allocations: 63.57 MB / 483.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.002179/0.1225, allocations: 1.623 MB / 484.7 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.1236, allocations: 0.5728 MB / 485.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.358e-05/0.1236, allocations: 4 kB / 485.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.6e-05/0.1237, allocations: 7.922 kB / 485.3 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002087/0.1239, allocations: 39.75 kB / 485.3 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.1242, allocations: 71.86 kB / 485.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.1244, allocations: 147.4 kB / 485.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.1245, allocations: 21.11 kB / 485.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.1247, allocations: 79.69 kB / 485.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.1248, allocations: 51.77 kB / 485.7 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.57e-05/0.1249, allocations: 8 kB / 485.7 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.41e-05/0.1249, allocations: 8 kB / 485.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.148e-05/0.125, allocations: 27.84 kB / 485.7 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.738e-05/0.125, allocations: 85.41 kB / 485.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.1252, allocations: 131.7 kB / 486 MB, free: 1.258 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1252, allocations: 4 kB / 486 MB, free: 1.254 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1252, allocations: 0 / 486 MB, free: 1.254 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1253, allocations: 0 / 486 MB, free: 1.254 MB / 350.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.0007676/0.126, allocations: 431.1 kB / 486.4 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.1261, allocations: 16.03 kB / 486.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003209/0.1264, allocations: 40.81 kB / 486.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.1266, allocations: 192.1 kB / 486.6 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.1267, allocations: 4.375 kB / 486.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.214e-05/0.1267, allocations: 8.375 kB / 486.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003491/0.1271, allocations: 144.5 kB / 486.8 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1271, allocations: 0 / 486.8 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.1271, allocations: 4 kB / 486.8 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/0.1271, allocations: 7.938 kB / 486.8 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003461/0.1275, allocations: 103.9 kB / 486.9 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009141/0.1284, allocations: 467.3 kB / 487.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003159/0.1287, allocations: 98.45 kB / 487.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.1289, allocations: 48.92 kB / 487.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.1289, allocations: 0 / 487.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.1289, allocations: 34.56 kB / 487.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.129, allocations: 0 / 487.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.001498/0.1305, allocations: 369.1 kB / 487.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.384e-05/0.1305, allocations: 102.8 kB / 488 MB, free: 15.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.1307, allocations: 149.8 kB / 488.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.1307, allocations: 29.7 kB / 488.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.964e-05/0.1308, allocations: 112.1 kB / 488.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.1308, allocations: 19.72 kB / 488.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.1309, allocations: 13.72 kB / 488.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.131, allocations: 322.8 kB / 488.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003258/0.1313, allocations: 71.94 kB / 488.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002711/0.1316, allocations: 104.2 kB / 488.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005281/0.1321, allocations: 158.5 kB / 488.9 MB, free: 14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1322, allocations: 0 / 488.9 MB, free: 14 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005875/0.1328, allocations: 201.4 kB / 489.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.1328, allocations: 15.88 kB / 489.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.1328, allocations: 0 / 489.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.1328, allocations: 0 / 489.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006294/0.1334, allocations: 99.97 kB / 489.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/0.1349, allocations: 1.399 MB / 490.7 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/0.1351, allocations: 32 kB / 490.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.1352, allocations: 0 / 490.7 MB, free: 12.11 MB / 366.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.0001117/0.1353, allocations: 133.8 kB / 490.8 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-05/0.1353, allocations: 7.906 kB / 490.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005589/0.1359, allocations: 194.3 kB / 491 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1359, allocations: 0 / 491 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.1359, allocations: 0 / 491 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1359, allocations: 0 / 491 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008281/0.1367, allocations: 490.3 kB / 491.5 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1368, allocations: 288 / 491.5 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002866/0.137, allocations: 32.16 kB / 491.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.1371, allocations: 4 kB / 491.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.1371, allocations: 7.938 kB / 491.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1371, allocations: 0 / 491.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1371, allocations: 0 / 491.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005668/0.1377, allocations: 279.3 kB / 491.8 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.387e-05/0.1377, allocations: 81.02 kB / 491.9 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.779e-05/0.1378, allocations: 15.98 kB / 491.9 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.138, allocations: 27.92 kB / 491.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.728e-05/0.138, allocations: 3.984 kB / 491.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.1381, allocations: 4 kB / 491.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.123e-05/0.1382, allocations: 121.6 kB / 492.1 MB, free: 10.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1382, allocations: 4 kB / 492.1 MB, free: 10.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002797/0.1385, allocations: 28 kB / 492.1 MB, free: 10.61 MB / 366.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.0001189/0.1386, allocations: 95.25 kB / 492.2 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009216/0.1395, allocations: 195.9 kB / 492.4 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1395, allocations: 0 / 492.4 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002562/0.1398, allocations: 75.94 kB / 492.4 MB, free: 10.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.1401, allocations: 12 kB / 492.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.1414, allocations: 433.3 kB / 492.9 MB, free: 9.777 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.1417, allocations: 0.7004 MB / 493.6 MB, free: 9.051 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.896e-05/0.1418, allocations: 16.42 kB / 493.6 MB, free: 9.035 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.584e-05/0.1419, allocations: 15.44 kB / 493.6 MB, free: 9.02 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1419, allocations: 0 / 493.6 MB, free: 9.02 MB / 366.1 MB Notification: Performance of Templates: time 0.004286/0.1462, allocations: 1.534 MB / 495.1 MB, free: 7.496 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.makefile (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) 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) Reference file matches