Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001822/0.001822, allocations: 123.4 kB / 17.79 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001986/0.001986, allocations: 204.3 kB / 20.74 MB, free: 2.414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.518/1.518, allocations: 230.6 MB / 254.1 MB, free: 15.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2361/0.2361, allocations: 46.92 MB / 357.1 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 64.09 kB / 0.4909 GB, free: 7.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1364, allocations: 66.01 MB / 0.5554 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003138/0.1395, allocations: 1.727 MB / 0.557 GB, free: 4.109 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001769/0.1397, allocations: 79.73 kB / 0.5571 GB, free: 4.031 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.426e-05/0.1397, allocations: 11.88 kB / 0.5571 GB, free: 4.02 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 6.103e-05/0.1398, allocations: 11.86 kB / 0.5571 GB, free: 4.008 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 8.322e-05/0.1399, allocations: 27.77 kB / 0.5572 GB, free: 3.98 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000102/0.14, allocations: 23.97 kB / 0.5572 GB, free: 3.957 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.1402, allocations: 107.6 kB / 0.5573 GB, free: 3.852 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.1403, allocations: 43.97 kB / 0.5573 GB, free: 3.809 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.771e-05/0.1404, allocations: 43.91 kB / 0.5574 GB, free: 3.766 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.941e-05/0.1405, allocations: 51.77 kB / 0.5574 GB, free: 3.715 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.685e-05/0.1405, allocations: 12 kB / 0.5574 GB, free: 3.703 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.95e-05/0.1405, allocations: 8 kB / 0.5574 GB, free: 3.695 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.568e-05/0.1406, allocations: 27.91 kB / 0.5575 GB, free: 3.668 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.132e-05/0.1406, allocations: 51.73 kB / 0.5575 GB, free: 3.617 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.1408, allocations: 107.6 kB / 0.5576 GB, free: 3.512 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1408, allocations: 0 / 0.5576 GB, free: 3.512 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1408, allocations: 0 / 0.5576 GB, free: 3.512 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.1408, allocations: 7.938 kB / 0.5576 GB, free: 3.504 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.000847/0.1417, allocations: 427 kB / 0.558 GB, free: 3.035 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.1417, allocations: 8.031 kB / 0.558 GB, free: 3.027 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.669e-05/0.1418, allocations: 42.75 kB / 0.5581 GB, free: 2.977 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.1419, allocations: 8.891 kB / 0.5581 GB, free: 2.969 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.1421, allocations: 188.1 kB / 0.5583 GB, free: 2.746 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.1421, allocations: 8.375 kB / 0.5583 GB, free: 2.738 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.1421, allocations: 12.38 kB / 0.5583 GB, free: 2.727 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003731/0.1425, allocations: 122.2 kB / 0.5584 GB, free: 2.602 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.1425, allocations: 3.938 kB / 0.5584 GB, free: 2.598 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.1425, allocations: 4 kB / 0.5584 GB, free: 2.594 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.1425, allocations: 4 kB / 0.5584 GB, free: 2.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004138/0.1429, allocations: 115.7 kB / 0.5585 GB, free: 2.477 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008706/0.1438, allocations: 475.4 kB / 0.559 GB, free: 1.953 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/0.1441, allocations: 74.53 kB / 0.5591 GB, free: 1.871 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002735/0.1443, allocations: 64.94 kB / 0.5591 GB, free: 1.805 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.1444, allocations: 0 / 0.5591 GB, free: 1.805 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.1444, allocations: 34.5 kB / 0.5592 GB, free: 1.762 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 9.01e-07/0.1444, allocations: 0 / 0.5592 GB, free: 1.762 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0009458/0.1453, allocations: 267.4 kB / 0.5594 GB, free: 1.473 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.1454, allocations: 51.41 kB / 0.5595 GB, free: 1.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.1455, allocations: 121.8 kB / 0.5596 GB, free: 1.281 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.1455, allocations: 29.7 kB / 0.5596 GB, free: 1.246 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.733e-05/0.1456, allocations: 112.2 kB / 0.5597 GB, free: 1.129 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.1456, allocations: 19.8 kB / 0.5597 GB, free: 1.109 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.671e-05/0.1457, allocations: 21.7 kB / 0.5597 GB, free: 1.082 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.1459, allocations: 318.8 kB / 0.5601 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.146, allocations: 39.89 kB / 0.5601 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.1462, allocations: 58.55 kB / 0.5601 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003381/0.1466, allocations: 102.4 kB / 0.5602 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1466, allocations: 0 / 0.5602 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004678/0.147, allocations: 150.3 kB / 0.5604 GB, free: 400 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.1471, allocations: 7.984 kB / 0.5604 GB, free: 392 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1471, allocations: 3.938 kB / 0.5604 GB, free: 388 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001518/0.1472, allocations: 20.86 kB / 0.5604 GB, free: 364 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.1474, allocations: 24.03 kB / 0.5604 GB, free: 340 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/0.1487, allocations: 1.404 MB / 0.5618 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.1488, allocations: 16.08 kB / 0.5618 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.1488, allocations: 4 kB / 0.5618 GB, free: 14.77 MB / 430.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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001265/0.1489, allocations: 121.8 kB / 0.5619 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.643e-05/0.149, allocations: 11.89 kB / 0.562 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.459e-05/0.149, allocations: 12.36 kB / 0.562 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.149, allocations: 0 / 0.562 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.149, allocations: 7.938 kB / 0.562 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.149, allocations: 4 kB / 0.562 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007765/0.1498, allocations: 416.1 kB / 0.5624 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1498, allocations: 3.938 kB / 0.5624 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.587e-05/0.1499, allocations: 15.98 kB / 0.5624 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.168e-05/0.1499, allocations: 28.88 kB / 0.5624 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/0.15, allocations: 0 / 0.5624 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00124/0.1512, allocations: 1.402 MB / 0.5638 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1512, allocations: 0 / 0.5638 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004853/0.1517, allocations: 241.1 kB / 0.564 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.108e-05/0.1517, allocations: 89.05 kB / 0.5641 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.033e-05/0.1517, allocations: 128 / 0.5641 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.1519, allocations: 19.98 kB / 0.5641 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.777e-05/0.1519, allocations: 7.984 kB / 0.5641 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.1519, allocations: 0 / 0.5641 GB, free: 12.15 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.135e-05/0.152, allocations: 103.2 kB / 0.5642 GB, free: 12.05 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.152, allocations: 0 / 0.5642 GB, free: 12.05 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002716/0.1523, allocations: 27.89 kB / 0.5643 GB, free: 12.02 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008541/0.1531, allocations: 0.7609 MB / 0.565 GB, free: 11.23 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005743/0.1537, allocations: 210.5 kB / 0.5652 GB, free: 11.01 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1537, allocations: 0 / 0.5652 GB, free: 11.01 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002878/0.154, allocations: 162.8 kB / 0.5654 GB, free: 10.84 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.1543, allocations: 7.938 kB / 0.5654 GB, free: 10.83 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002384/0.1567, allocations: 1.608 MB / 0.5669 GB, free: 9.117 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.1571, allocations: 0.6949 MB / 0.5676 GB, free: 8.398 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.101e-05/0.1571, allocations: 11.73 kB / 0.5676 GB, free: 8.387 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.236e-05/0.1572, allocations: 23.44 kB / 0.5677 GB, free: 8.363 MB / 430.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1572, allocations: 3.938 kB / 0.5677 GB, free: 8.359 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02973/0.1869, allocations: 2.385 MB / 0.57 GB, free: 6.094 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.969/10.16, allocations: 28.67 kB / 0.57 GB, free: 6.074 MB / 430.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents.fmu > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable reluctance.V_m in file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv. Warning: Get data of variable reluctance.V_m from file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv failed! Error: Could not read variable permeance.V_m in file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv. Warning: Get data of variable permeance.V_m from file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.395034524000948]