Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001824/0.001824, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002339/0.002339, allocations: 211.2 kB / 20.75 MB, free: 2.27 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.528/1.528, 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2274/0.2274, allocations: 44.91 MB / 355.1 MB, free: 12.41 MB / 286.1 MB " [Timeout remaining time 180] 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.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_0_0_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 71.89 kB / 499.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1255, allocations: 65.42 MB / 0.5518 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003642/0.1291, allocations: 2.119 MB / 0.5538 GB, free: 7.992 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002276/0.1314, allocations: 1.387 MB / 0.5552 GB, free: 6.598 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.677e-05/0.1315, allocations: 4 kB / 0.5552 GB, free: 6.594 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 6.89e-05/0.1316, allocations: 23.67 kB / 0.5552 GB, free: 6.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001256/0.1317, allocations: 39.64 kB / 0.5553 GB, free: 6.531 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005426/0.1322, allocations: 195.3 kB / 0.5554 GB, free: 6.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002418/0.1325, allocations: 180.1 kB / 0.5556 GB, free: 6.164 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002004/0.1327, allocations: 93.8 kB / 0.5557 GB, free: 6.078 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.1329, allocations: 91.58 kB / 0.5558 GB, free: 5.988 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.133, allocations: 91.48 kB / 0.5559 GB, free: 5.898 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.133, allocations: 16 kB / 0.5559 GB, free: 5.883 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003125/0.1333, allocations: 147.9 kB / 0.556 GB, free: 5.738 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.014e-05/0.1334, allocations: 43.84 kB / 0.5561 GB, free: 5.695 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.609e-05/0.1335, allocations: 91.47 kB / 0.5562 GB, free: 5.605 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004406/0.1339, allocations: 326.5 kB / 0.5565 GB, free: 5.285 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1339, allocations: 4 kB / 0.5565 GB, free: 5.281 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1339, allocations: 0 / 0.5565 GB, free: 5.281 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.1339, allocations: 4 kB / 0.5565 GB, free: 5.277 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.0006548/0.1346, allocations: 0.5259 MB / 0.557 GB, free: 4.699 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.1346, allocations: 8.031 kB / 0.557 GB, free: 4.691 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001108/0.1347, allocations: 91.2 kB / 0.5571 GB, free: 4.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009271/0.1356, allocations: 84.69 kB / 0.5572 GB, free: 4.508 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002878/0.1359, allocations: 212 kB / 0.5574 GB, free: 4.262 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.1359, allocations: 25.03 kB / 0.5574 GB, free: 4.238 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.088e-05/0.136, allocations: 28.38 kB / 0.5574 GB, free: 4.211 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004107/0.1364, allocations: 238.2 kB / 0.5577 GB, free: 3.977 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.1364, allocations: 4 kB / 0.5577 GB, free: 3.973 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.1364, allocations: 8 kB / 0.5577 GB, free: 3.965 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.1364, allocations: 8 kB / 0.5577 GB, free: 3.957 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003328/0.1368, allocations: 174.5 kB / 0.5578 GB, free: 3.781 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009508/0.1377, allocations: 0.644 MB / 0.5585 GB, free: 3.086 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005382/0.1383, allocations: 217.8 kB / 0.5587 GB, free: 2.867 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.1384, allocations: 61.3 kB / 0.5587 GB, free: 2.805 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.1384, allocations: 240 / 0.5587 GB, free: 2.805 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.1384, allocations: 38.73 kB / 0.5588 GB, free: 2.758 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 9.92e-07/0.1384, allocations: 0 / 0.5588 GB, free: 2.758 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004743/0.1389, allocations: 223.8 kB / 0.559 GB, free: 2.535 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.139, allocations: 55.34 kB / 0.559 GB, free: 2.469 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.971e-05/0.139, allocations: 105.8 kB / 0.5591 GB, free: 2.355 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.1391, allocations: 33.7 kB / 0.5592 GB, free: 2.316 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.815e-05/0.1392, allocations: 152.5 kB / 0.5593 GB, free: 2.164 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.002e-05/0.1392, allocations: 99.16 kB / 0.5594 GB, free: 2.066 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.183e-05/0.1393, allocations: 41.69 kB / 0.5594 GB, free: 2.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1395, allocations: 326.8 kB / 0.5598 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.775e-05/0.1395, allocations: 39.98 kB / 0.5598 GB, free: 1.652 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.475e-05/0.1396, allocations: 48.91 kB / 0.5598 GB, free: 1.605 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.1399, allocations: 113.3 kB / 0.56 GB, free: 1.492 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1399, allocations: 0 / 0.56 GB, free: 1.492 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003015/0.1402, allocations: 173.5 kB / 0.5601 GB, free: 1.316 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1402, allocations: 4 kB / 0.5601 GB, free: 1.312 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.1402, allocations: 3.984 kB / 0.5601 GB, free: 1.309 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.1402, allocations: 8 kB / 0.5601 GB, free: 1.301 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00037/0.1406, allocations: 91.89 kB / 0.5602 GB, free: 1.211 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.1406, allocations: 7.938 kB / 0.5602 GB, free: 1.203 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.906e-05/0.1407, allocations: 15.89 kB / 0.5602 GB, free: 1.188 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.1407, allocations: 7.984 kB / 0.5603 GB, free: 1.18 MB / 414.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.000141/0.1408, allocations: 129.8 kB / 0.5604 GB, free: 1.043 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-05/0.1408, allocations: 7.953 kB / 0.5604 GB, free: 1.035 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.665e-05/0.1409, allocations: 21.53 kB / 0.5604 GB, free: 1.016 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.1409, allocations: 7.938 kB / 0.5604 GB, free: 1.008 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.1409, allocations: 0 / 0.5604 GB, free: 1.008 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1409, allocations: 0 / 0.5604 GB, free: 1.008 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003401/0.1413, allocations: 301.4 kB / 0.5607 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1413, allocations: 0 / 0.5607 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003684/0.1416, allocations: 103.9 kB / 0.5608 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.1416, allocations: 0 / 0.5608 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.1417, allocations: 4 kB / 0.5608 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.1417, allocations: 8.188 kB / 0.5608 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1417, allocations: 0 / 0.5608 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003467/0.142, allocations: 275.6 kB / 0.5611 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.116e-05/0.1421, allocations: 100.9 kB / 0.5612 GB, free: 152 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.1421, allocations: 8 kB / 0.5612 GB, free: 144 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.07e-05/0.1422, allocations: 7.938 kB / 0.5612 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.1422, allocations: 15.97 kB / 0.5612 GB, free: 120 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.1422, allocations: 8 kB / 0.5612 GB, free: 112 kB / 414.1 MB Notification: Performance of sorting global known variables: time 4.661e-05/0.1423, allocations: 79.28 kB / 0.5613 GB, free: 32 kB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1423, allocations: 4 kB / 0.5613 GB, free: 28 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002973/0.1426, allocations: 59.92 kB / 0.5613 GB, free: 15.96 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.0007937/0.1434, allocations: 0.8686 MB / 0.5622 GB, free: 15.07 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002816/0.1437, allocations: 128.3 kB / 0.5623 GB, free: 14.94 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1437, allocations: 3.938 kB / 0.5623 GB, free: 14.94 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.1438, allocations: 72.31 kB / 0.5624 GB, free: 14.87 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.144, allocations: 21.62 kB / 0.5624 GB, free: 14.85 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002294/0.1463, allocations: 1.973 MB / 0.5643 GB, free: 12.8 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.1467, allocations: 0.7474 MB / 0.5651 GB, free: 12.03 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.59e-05/0.1468, allocations: 17.41 kB / 0.5651 GB, free: 12.01 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.1469, allocations: 71.41 kB / 0.5651 GB, free: 11.94 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1469, allocations: 0 / 0.5651 GB, free: 11.94 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02334/0.1702, allocations: 2.778 MB / 0.5679 GB, free: 9.227 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.109/8.279, allocations: 11.94 kB / 0.5679 GB, free: 9.215 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.542001597117633]