Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.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.001221/0.001221, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001353/0.001353, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.488/1.488, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2242/0.2242, allocations: 46.91 MB / 357.1 MB, free: 10.34 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.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 71.89 kB / 0.4909 GB, free: 7.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1242, allocations: 65.99 MB / 0.5554 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003384/0.1276, allocations: 2.13 MB / 0.5575 GB, free: 3.699 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002191/0.1298, allocations: 1.383 MB / 0.5588 GB, free: 2.309 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.1299, allocations: 4 kB / 0.5588 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 7.098e-05/0.13, allocations: 23.67 kB / 0.5588 GB, free: 2.281 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001333/0.1301, allocations: 47.58 kB / 0.5589 GB, free: 2.234 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005481/0.1307, allocations: 187.3 kB / 0.5591 GB, free: 2.051 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002543/0.1309, allocations: 180.1 kB / 0.5592 GB, free: 1.875 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002343/0.1312, allocations: 93.5 kB / 0.5593 GB, free: 1.789 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/0.1313, allocations: 87.64 kB / 0.5594 GB, free: 1.703 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.1315, allocations: 87.55 kB / 0.5595 GB, free: 1.617 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.999e-05/0.1315, allocations: 16 kB / 0.5595 GB, free: 1.602 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003091/0.1318, allocations: 155.9 kB / 0.5597 GB, free: 1.449 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.943e-05/0.1319, allocations: 47.77 kB / 0.5597 GB, free: 1.402 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.557e-05/0.1319, allocations: 87.48 kB / 0.5598 GB, free: 1.316 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004908/0.1324, allocations: 322.6 kB / 0.5601 GB, free: 1 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.1324, allocations: 0 / 0.5601 GB, free: 1 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1324, allocations: 4 kB / 0.5601 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.1324, allocations: 0 / 0.5601 GB, free: 0.9961 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0006942/0.1331, allocations: 0.5259 MB / 0.5606 GB, free: 428 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.1332, allocations: 11.97 kB / 0.5606 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001176/0.1333, allocations: 95.16 kB / 0.5607 GB, free: 308 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009241/0.1342, allocations: 80.69 kB / 0.5608 GB, free: 228 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003483/0.1346, allocations: 212 kB / 0.561 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.081e-05/0.1346, allocations: 29.02 kB / 0.561 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.179e-05/0.1346, allocations: 28.38 kB / 0.5611 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004445/0.1351, allocations: 238.2 kB / 0.5613 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.1351, allocations: 3.984 kB / 0.5613 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.1351, allocations: 12 kB / 0.5613 GB, free: 15.67 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.1351, allocations: 11.94 kB / 0.5613 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003187/0.1355, allocations: 158.5 kB / 0.5615 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.1365, allocations: 0.6479 MB / 0.5621 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000548/0.137, allocations: 217.7 kB / 0.5623 GB, free: 14.58 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.1371, allocations: 65.28 kB / 0.5624 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.1372, allocations: 8.234 kB / 0.5624 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.03e-05/0.1372, allocations: 34.8 kB / 0.5624 GB, free: 14.46 MB / 430.1 MB Notification: Performance of pre-optimization done (n=27): time 1.272e-06/0.1372, allocations: 0 / 0.5624 GB, free: 14.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=27): time 0.0005185/0.1377, allocations: 216.8 kB / 0.5626 GB, free: 14.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.1378, allocations: 59.34 kB / 0.5627 GB, free: 14.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.72e-05/0.1379, allocations: 101.9 kB / 0.5628 GB, free: 14.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.1379, allocations: 33.7 kB / 0.5628 GB, free: 14.03 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.138, allocations: 148.6 kB / 0.5629 GB, free: 13.88 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.393e-05/0.1381, allocations: 103.1 kB / 0.563 GB, free: 13.78 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-05/0.1382, allocations: 41.7 kB / 0.5631 GB, free: 13.73 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1383, allocations: 322.8 kB / 0.5634 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.69e-05/0.1384, allocations: 35.98 kB / 0.5634 GB, free: 13.37 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.1385, allocations: 52.89 kB / 0.5635 GB, free: 13.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002579/0.1388, allocations: 117.3 kB / 0.5636 GB, free: 13.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1388, allocations: 4 kB / 0.5636 GB, free: 13.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003127/0.1391, allocations: 169.5 kB / 0.5637 GB, free: 13.03 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.1391, allocations: 4 kB / 0.5637 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1391, allocations: 0 / 0.5637 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.1391, allocations: 4 kB / 0.5638 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003694/0.1395, allocations: 99.83 kB / 0.5638 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.1395, allocations: 7.938 kB / 0.5639 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.202e-05/0.1396, allocations: 19.88 kB / 0.5639 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.1396, allocations: 4 kB / 0.5639 GB, free: 12.89 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (27): * Single equations (assignments): 27 * 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 prepare postOptimizeDAE: time 0.0001215/0.1397, allocations: 129.8 kB / 0.564 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/0.1397, allocations: 7.953 kB / 0.564 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.898e-05/0.1398, allocations: 25.53 kB / 0.564 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.1398, allocations: 7.938 kB / 0.564 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.1398, allocations: 0 / 0.564 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1398, allocations: 3.984 kB / 0.564 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003428/0.1402, allocations: 289.4 kB / 0.5643 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1402, allocations: 0 / 0.5643 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003614/0.1405, allocations: 103.8 kB / 0.5644 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1405, allocations: 0 / 0.5644 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.1406, allocations: 4 kB / 0.5644 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.1406, allocations: 7.938 kB / 0.5644 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1406, allocations: 4 kB / 0.5644 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003477/0.1409, allocations: 271.6 kB / 0.5647 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.939e-05/0.141, allocations: 89 kB / 0.5648 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.141, allocations: 8 kB / 0.5648 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.418e-05/0.1411, allocations: 11.92 kB / 0.5648 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/0.1411, allocations: 15.98 kB / 0.5648 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.1411, allocations: 4 kB / 0.5648 GB, free: 11.84 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.442e-05/0.1412, allocations: 103.5 kB / 0.5649 GB, free: 11.73 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1412, allocations: 0 / 0.5649 GB, free: 11.73 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000286/0.1415, allocations: 55.73 kB / 0.565 GB, free: 11.68 MB / 430.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 (27): * Single equations (assignments): 27 * 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.0007932/0.1423, allocations: 0.8608 MB / 0.5658 GB, free: 10.79 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002989/0.1426, allocations: 132.3 kB / 0.5659 GB, free: 10.66 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1426, allocations: 0 / 0.5659 GB, free: 10.66 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.1427, allocations: 68.38 kB / 0.566 GB, free: 10.59 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.1429, allocations: 17.81 kB / 0.566 GB, free: 10.58 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/0.1453, allocations: 1.981 MB / 0.568 GB, free: 8.52 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.1457, allocations: 0.7474 MB / 0.5687 GB, free: 7.746 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.492e-05/0.1458, allocations: 17.41 kB / 0.5687 GB, free: 7.727 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.146, allocations: 67.41 kB / 0.5688 GB, free: 7.66 MB / 430.1 MB Notification: Performance of SimCode: time 3.81e-07/0.146, allocations: 0 / 0.5688 GB, free: 7.66 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02288/0.1688, allocations: 2.793 MB / 0.5715 GB, free: 4.934 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.978/8.147, allocations: 3.938 kB / 0.5715 GB, free: 4.93 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_1_0_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.255653159008943]