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: "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestSaturatingInductor,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestSaturatingInductor,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0016/0.0016, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001855/0.001855, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.205/0.205, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002382/0.002382, allocations: 74.31 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1315, allocations: 62.44 MB / 480.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003175/0.1347, allocations: 1.915 MB / 482 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.1358, allocations: 0.5883 MB / 482.6 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.948e-05/0.136, allocations: 4 kB / 482.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.378e-05/0.1361, allocations: 15.84 kB / 482.6 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.1363, allocations: 35.7 kB / 482.7 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000299/0.1366, allocations: 83.33 kB / 482.8 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.1368, allocations: 155.4 kB / 482.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.137, allocations: 33.11 kB / 482.9 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003062/0.1373, allocations: 83.62 kB / 483 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.1374, allocations: 59.77 kB / 483.1 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.561e-05/0.1375, allocations: 12 kB / 483.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.944e-05/0.1375, allocations: 23.98 kB / 483.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.699e-05/0.1376, allocations: 27.92 kB / 483.2 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.726e-05/0.1377, allocations: 63.64 kB / 483.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.1379, allocations: 143.8 kB / 483.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1379, allocations: 0 / 483.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1379, allocations: 4 kB / 483.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.1379, allocations: 0 / 483.4 MB, free: 1.957 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.0008558/0.1388, allocations: 447 kB / 483.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.1388, allocations: 8.031 kB / 483.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.327e-05/0.1389, allocations: 42.75 kB / 483.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003994/0.1393, allocations: 40.72 kB / 483.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.1395, allocations: 184.2 kB / 484.1 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.1395, allocations: 8.312 kB / 484.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.422e-05/0.1396, allocations: 16.31 kB / 484.1 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003514/0.1399, allocations: 143 kB / 484.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1399, allocations: 0 / 484.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.14, allocations: 8 kB / 484.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.14, allocations: 0 / 484.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003553/0.1403, allocations: 99.91 kB / 484.3 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008642/0.1412, allocations: 451.3 kB / 484.8 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003012/0.1415, allocations: 98.45 kB / 484.9 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.1417, allocations: 44.92 kB / 484.9 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.1417, allocations: 0 / 484.9 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.1417, allocations: 34.56 kB / 484.9 MB, free: 188 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.1417, allocations: 0 / 484.9 MB, free: 188 kB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.001414/0.1432, allocations: 321 kB / 485.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.98e-05/0.1433, allocations: 102.8 kB / 485.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.1434, allocations: 144.2 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.1434, allocations: 25.7 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.527e-05/0.1435, allocations: 120.1 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.1436, allocations: 19.72 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.094e-05/0.1436, allocations: 25.7 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.1437, allocations: 318.8 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000241/0.144, allocations: 59.95 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002531/0.1443, allocations: 108.1 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004378/0.1447, allocations: 134.5 kB / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1447, allocations: 0 / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005378/0.1453, allocations: 173.4 kB / 486.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1453, allocations: 7.938 kB / 486.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.1453, allocations: 4.062 kB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.1453, allocations: 4 kB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005934/0.1459, allocations: 91.84 kB / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001397/0.1473, allocations: 1.497 MB / 488.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000231/0.1476, allocations: 27.94 kB / 488.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.1476, allocations: 7.938 kB / 488.1 MB, free: 12.79 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.0001052/0.1477, allocations: 117.8 kB / 488.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.05e-05/0.1477, allocations: 8.188 kB / 488.2 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005113/0.1483, allocations: 170.3 kB / 488.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.1483, allocations: 4.172 kB / 488.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.1483, allocations: 0 / 488.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1483, allocations: 7.938 kB / 488.4 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007832/0.1491, allocations: 462.4 kB / 488.9 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.1491, allocations: 4 kB / 488.9 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/0.1493, allocations: 31.97 kB / 488.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.1493, allocations: 0 / 488.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.1493, allocations: 4 kB / 488.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.1493, allocations: 3.938 kB / 488.9 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1493, allocations: 0 / 488.9 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005146/0.1498, allocations: 251.4 kB / 489.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.483e-05/0.1499, allocations: 81.02 kB / 489.2 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.37e-05/0.1499, allocations: 4 kB / 489.2 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/0.1502, allocations: 27.91 kB / 489.3 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.917e-05/0.1502, allocations: 11.98 kB / 489.3 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.1502, allocations: 3.938 kB / 489.3 MB, free: 11.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.103e-05/0.1503, allocations: 113.5 kB / 489.4 MB, free: 11.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1503, allocations: 0 / 489.4 MB, free: 11.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.1506, allocations: 32 kB / 489.4 MB, free: 11.38 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.0007767/0.1514, allocations: 0.7709 MB / 490.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008882/0.1523, allocations: 180.2 kB / 490.4 MB, free: 10.4 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1523, allocations: 3.938 kB / 490.4 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002396/0.1525, allocations: 68.02 kB / 490.4 MB, free: 10.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.1529, allocations: 20.23 kB / 490.4 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003381/0.1563, allocations: 1.984 MB / 492.4 MB, free: 8.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.1565, allocations: 0.7041 MB / 493.1 MB, free: 7.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.428e-05/0.1566, allocations: 4.438 kB / 493.1 MB, free: 7.496 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.018e-05/0.1567, allocations: 35.42 kB / 493.2 MB, free: 7.461 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1567, allocations: 4 kB / 493.2 MB, free: 7.457 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01898/0.1757, allocations: 3.117 MB / 496.3 MB, free: 4.469 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/10.85, allocations: 3.984 kB / 496.3 MB, free: 4.465 MB / 366.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestSaturatingInductor.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches