Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor") translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 104.2 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001299/0.0013, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2168/0.2168, allocations: 44.17 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 63.91 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1249, allocations: 60.83 MB / 469.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003094/0.128, allocations: 1.876 MB / 471.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008603/0.1289, allocations: 0.5416 MB / 471.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.818e-05/0.129, allocations: 4 kB / 471.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.117e-05/0.129, allocations: 15.8 kB / 471.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001927/0.1292, allocations: 43.69 kB / 471.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.1295, allocations: 75.83 kB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000221/0.1297, allocations: 155.4 kB / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.1298, allocations: 40.95 kB / 472 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001529/0.13, allocations: 67.78 kB / 472.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001692/0.1302, allocations: 67.73 kB / 472.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.101e-05/0.1302, allocations: 12 kB / 472.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.779e-05/0.1303, allocations: 12 kB / 472.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.736e-05/0.1303, allocations: 35.84 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.162e-05/0.1304, allocations: 63.72 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.1306, allocations: 139.8 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1306, allocations: 0 / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1306, allocations: 0 / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.1306, allocations: 0 / 472.4 MB, free: 11.21 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.0007877/0.1314, allocations: 451 kB / 472.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.1315, allocations: 8.031 kB / 472.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.205e-05/0.1315, allocations: 12.75 kB / 472.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.1317, allocations: 192.2 kB / 473 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.1317, allocations: 4.375 kB / 473 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.1317, allocations: 8.375 kB / 473 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003202/0.1321, allocations: 143.1 kB / 473.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.1321, allocations: 4 kB / 473.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.1321, allocations: 3.938 kB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.1321, allocations: 4 kB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000319/0.1325, allocations: 95.86 kB / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008237/0.1333, allocations: 455.4 kB / 473.7 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003051/0.1336, allocations: 98.45 kB / 473.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.1338, allocations: 36.92 kB / 473.9 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.1338, allocations: 0 / 473.9 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.1338, allocations: 38.56 kB / 473.9 MB, free: 9.512 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.1338, allocations: 3.938 kB / 473.9 MB, free: 9.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.001345/0.1352, allocations: 313.4 kB / 474.2 MB, free: 9.195 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.441e-05/0.1352, allocations: 106.8 kB / 474.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.1354, allocations: 148.6 kB / 474.5 MB, free: 8.914 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.1354, allocations: 25.7 kB / 474.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.424e-05/0.1355, allocations: 112.1 kB / 474.6 MB, free: 8.766 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/0.1355, allocations: 23.64 kB / 474.6 MB, free: 8.742 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.619e-05/0.1356, allocations: 29.7 kB / 474.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.1357, allocations: 322.8 kB / 475 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/0.1359, allocations: 59.95 kB / 475 MB, free: 8.324 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.1361, allocations: 96.17 kB / 475.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004125/0.1366, allocations: 134.5 kB / 475.3 MB, free: 8.074 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.1366, allocations: 0 / 475.3 MB, free: 8.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004878/0.1371, allocations: 177.4 kB / 475.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1371, allocations: 11.94 kB / 475.4 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1371, allocations: 3.938 kB / 475.4 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.1371, allocations: 0 / 475.4 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005625/0.1377, allocations: 91.95 kB / 475.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/0.139, allocations: 1.5 MB / 477 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/0.1392, allocations: 28.12 kB / 477.1 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.1393, allocations: 4 kB / 477.1 MB, free: 6.117 MB / 350.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 9.645e-05/0.1394, allocations: 125.7 kB / 477.2 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.1394, allocations: 11.91 kB / 477.2 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000478/0.1399, allocations: 166.2 kB / 477.4 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1399, allocations: 4 kB / 477.4 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.41e-07/0.1399, allocations: 0 / 477.4 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1399, allocations: 0 / 477.4 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007419/0.1407, allocations: 466.3 kB / 477.8 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1407, allocations: 8 kB / 477.8 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.1408, allocations: 27.97 kB / 477.9 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.1408, allocations: 4 kB / 477.9 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.1409, allocations: 0 / 477.9 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-06/0.1409, allocations: 3.938 kB / 477.9 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1409, allocations: 0 / 477.9 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004889/0.1414, allocations: 251.3 kB / 478.1 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.767e-05/0.1414, allocations: 85.02 kB / 478.2 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.1414, allocations: 4.188 kB / 478.2 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.1417, allocations: 27.91 kB / 478.2 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.1417, allocations: 7.922 kB / 478.2 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.1417, allocations: 8 kB / 478.2 MB, free: 4.836 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.025e-05/0.1418, allocations: 115.2 kB / 478.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1418, allocations: 0 / 478.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.1421, allocations: 28 kB / 478.4 MB, free: 4.695 MB / 350.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.0001048/0.1422, allocations: 95.25 kB / 478.5 MB, free: 4.594 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008538/0.143, allocations: 175.8 kB / 478.6 MB, free: 4.422 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.143, allocations: 0 / 478.6 MB, free: 4.422 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002214/0.1433, allocations: 68.08 kB / 478.7 MB, free: 4.355 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.1436, allocations: 18.16 kB / 478.7 MB, free: 4.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.1448, allocations: 380.4 kB / 479.1 MB, free: 3.941 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.1451, allocations: 0.7041 MB / 479.8 MB, free: 3.211 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.339e-05/0.1452, allocations: 16.41 kB / 479.8 MB, free: 3.195 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.782e-05/0.1452, allocations: 11.44 kB / 479.8 MB, free: 3.184 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1453, allocations: 4 kB / 479.8 MB, free: 3.18 MB / 350.1 MB Notification: Performance of Templates: time 0.004509/0.1498, allocations: 1.697 MB / 481.5 MB, free: 1.492 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches