Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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.001738/0.001738, allocations: 128.4 kB / 17.79 MB, free: 5.242 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.002113/0.002113, allocations: 210.5 kB / 20.75 MB, free: 2.293 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.655/1.655, allocations: 230.4 MB / 254 MB, free: 15.02 MB / 206.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.2256/0.2256, allocations: 46.92 MB / 357 MB, free: 10.19 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: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002224/0.002224, allocations: 79.86 kB / 0.4909 GB, free: 7.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1218, allocations: 66.05 MB / 0.5554 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003061/0.1249, allocations: 1.73 MB / 0.5571 GB, free: 3.828 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001717/0.1251, allocations: 87.7 kB / 0.5572 GB, free: 3.742 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.699e-05/0.1251, allocations: 4 kB / 0.5572 GB, free: 3.738 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 5.273e-05/0.1252, allocations: 19.73 kB / 0.5572 GB, free: 3.719 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.356e-05/0.1252, allocations: 23.78 kB / 0.5573 GB, free: 3.695 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.775e-05/0.1253, allocations: 23.97 kB / 0.5573 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.1255, allocations: 107.6 kB / 0.5574 GB, free: 3.566 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.1257, allocations: 47.95 kB / 0.5574 GB, free: 3.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.298e-05/0.1257, allocations: 35.92 kB / 0.5575 GB, free: 3.484 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.325e-05/0.1258, allocations: 59.75 kB / 0.5575 GB, free: 3.426 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.1258, allocations: 12 kB / 0.5575 GB, free: 3.414 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.018e-05/0.1259, allocations: 12 kB / 0.5575 GB, free: 3.402 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.77e-05/0.1259, allocations: 19.92 kB / 0.5576 GB, free: 3.383 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.632e-05/0.126, allocations: 51.73 kB / 0.5576 GB, free: 3.332 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.1261, allocations: 115.6 kB / 0.5577 GB, free: 3.219 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1261, allocations: 0 / 0.5577 GB, free: 3.219 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1261, allocations: 4 kB / 0.5577 GB, free: 3.215 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.1261, allocations: 0 / 0.5577 GB, free: 3.215 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.0006701/0.1268, allocations: 426.9 kB / 0.5581 GB, free: 2.746 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.1268, allocations: 8.031 kB / 0.5581 GB, free: 2.738 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.536e-05/0.1269, allocations: 46.73 kB / 0.5582 GB, free: 2.684 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.2e-05/0.1269, allocations: 12.89 kB / 0.5582 GB, free: 2.672 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.1271, allocations: 176.2 kB / 0.5584 GB, free: 2.461 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.1271, allocations: 8.375 kB / 0.5584 GB, free: 2.453 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.1271, allocations: 8.375 kB / 0.5584 GB, free: 2.445 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003516/0.1275, allocations: 118.2 kB / 0.5585 GB, free: 2.324 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.1275, allocations: 7.938 kB / 0.5585 GB, free: 2.316 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.1275, allocations: 4 kB / 0.5585 GB, free: 2.312 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.1275, allocations: 0 / 0.5585 GB, free: 2.312 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003801/0.1279, allocations: 115.7 kB / 0.5586 GB, free: 2.199 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008/0.1287, allocations: 479.3 kB / 0.5591 GB, free: 1.672 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002509/0.1289, allocations: 74.53 kB / 0.5591 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002549/0.1292, allocations: 64.94 kB / 0.5592 GB, free: 1.523 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.1292, allocations: 0 / 0.5592 GB, free: 1.523 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.1292, allocations: 34.5 kB / 0.5592 GB, free: 1.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 9.41e-07/0.1292, allocations: 0 / 0.5592 GB, free: 1.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0009755/0.1302, allocations: 267.4 kB / 0.5595 GB, free: 1.191 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.1302, allocations: 59.39 kB / 0.5596 GB, free: 1.121 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.1304, allocations: 118.2 kB / 0.5597 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.1304, allocations: 25.7 kB / 0.5597 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.047e-05/0.1305, allocations: 112.2 kB / 0.5598 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.1305, allocations: 23.8 kB / 0.5598 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/0.1305, allocations: 21.7 kB / 0.5598 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1307, allocations: 310.8 kB / 0.5601 GB, free: 496 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.1308, allocations: 39.95 kB / 0.5602 GB, free: 456 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.131, allocations: 70.47 kB / 0.5602 GB, free: 376 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003465/0.1314, allocations: 94.45 kB / 0.5603 GB, free: 272 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1314, allocations: 0 / 0.5603 GB, free: 272 kB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004451/0.1318, allocations: 150.3 kB / 0.5605 GB, free: 112 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.1318, allocations: 4 kB / 0.5605 GB, free: 108 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1318, allocations: 0 / 0.5605 GB, free: 108 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001609/0.132, allocations: 28.78 kB / 0.5605 GB, free: 76 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.1321, allocations: 16.3 kB / 0.5605 GB, free: 60 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001295/0.1334, allocations: 1.414 MB / 0.5619 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.1335, allocations: 20.05 kB / 0.5619 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.1336, allocations: 0 / 0.5619 GB, free: 14.48 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.0001219/0.1337, allocations: 117.8 kB / 0.562 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/0.1337, allocations: 11.89 kB / 0.562 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.521e-05/0.1337, allocations: 12.36 kB / 0.5621 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.1337, allocations: 4 kB / 0.5621 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1337, allocations: 0 / 0.5621 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1337, allocations: 0 / 0.5621 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007356/0.1345, allocations: 424.1 kB / 0.5625 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1345, allocations: 0 / 0.5625 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.415e-05/0.1346, allocations: 15.92 kB / 0.5625 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.49e-05/0.1347, allocations: 28.88 kB / 0.5625 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.1347, allocations: 0 / 0.5625 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001168/0.1358, allocations: 1.402 MB / 0.5639 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.1358, allocations: 4.031 kB / 0.5639 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004843/0.1363, allocations: 241.1 kB / 0.5641 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.431e-05/0.1364, allocations: 93.05 kB / 0.5642 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.1364, allocations: 4 kB / 0.5642 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.1365, allocations: 11.92 kB / 0.5642 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.105e-05/0.1366, allocations: 11.98 kB / 0.5642 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.1366, allocations: 4 kB / 0.5642 GB, free: 11.86 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.753e-05/0.1367, allocations: 99.25 kB / 0.5643 GB, free: 11.76 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1367, allocations: 0 / 0.5643 GB, free: 11.76 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002739/0.1369, allocations: 31.89 kB / 0.5644 GB, free: 11.73 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.0008341/0.1378, allocations: 0.7609 MB / 0.5651 GB, free: 10.94 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005589/0.1383, allocations: 206.5 kB / 0.5653 GB, free: 10.72 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1383, allocations: 0 / 0.5653 GB, free: 10.72 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002913/0.1386, allocations: 162.8 kB / 0.5655 GB, free: 10.55 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.139, allocations: 11.94 kB / 0.5655 GB, free: 10.54 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002416/0.1414, allocations: 1.609 MB / 0.567 GB, free: 8.828 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.1418, allocations: 0.6924 MB / 0.5677 GB, free: 8.109 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.016e-05/0.1418, allocations: 11.73 kB / 0.5677 GB, free: 8.098 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.883e-05/0.1419, allocations: 19.44 kB / 0.5677 GB, free: 8.078 MB / 430.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1419, allocations: 0 / 0.5677 GB, free: 8.078 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02759/0.1695, allocations: 2.402 MB / 0.5701 GB, free: 5.789 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.783/8.952, allocations: 7.922 kB / 0.5701 GB, free: 5.781 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv. Warning: Get data of variable reluctance.V_m from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv failed! Error: Could not read variable permeance.V_m in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv. Warning: Get data of variable permeance.V_m from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.170868443092331]