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.001946/0.001946, allocations: 124.5 kB / 17.79 MB, free: 5.246 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.002365/0.002365, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.539/1.539, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.2712/0.2712, allocations: 46.92 MB / 357.1 MB, free: 10.33 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.001981/0.001981, allocations: 59.91 kB / 0.4909 GB, free: 7.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1182, allocations: 66 MB / 0.5554 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003995/0.1221, allocations: 2.116 MB / 0.5575 GB, free: 3.715 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002844/0.125, allocations: 1.391 MB / 0.5588 GB, free: 2.316 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001573/0.1251, allocations: 4 kB / 0.5588 GB, free: 2.312 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 8.754e-05/0.1252, allocations: 27.61 kB / 0.5589 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001538/0.1254, allocations: 35.66 kB / 0.5589 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006399/0.126, allocations: 203.2 kB / 0.5591 GB, free: 2.051 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002969/0.1263, allocations: 172.1 kB / 0.5592 GB, free: 1.883 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002099/0.1265, allocations: 89.52 kB / 0.5593 GB, free: 1.801 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002028/0.1267, allocations: 91.64 kB / 0.5594 GB, free: 1.711 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001478/0.1269, allocations: 91.48 kB / 0.5595 GB, free: 1.621 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.249e-05/0.1269, allocations: 16 kB / 0.5595 GB, free: 1.605 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003885/0.1273, allocations: 151.9 kB / 0.5597 GB, free: 1.457 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.012e-05/0.1274, allocations: 43.84 kB / 0.5597 GB, free: 1.414 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.386e-05/0.1275, allocations: 87.47 kB / 0.5598 GB, free: 1.328 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005978/0.1281, allocations: 326.5 kB / 0.5601 GB, free: 1.008 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1281, allocations: 0 / 0.5601 GB, free: 1.008 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.747e-06/0.1281, allocations: 4 kB / 0.5601 GB, free: 1.004 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.585e-06/0.1281, allocations: 0 / 0.5601 GB, free: 1.004 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.0007784/0.1289, allocations: 0.5298 MB / 0.5606 GB, free: 432 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.1289, allocations: 8.031 kB / 0.5606 GB, free: 424 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001276/0.129, allocations: 91.16 kB / 0.5607 GB, free: 320 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009858/0.13, allocations: 84.7 kB / 0.5608 GB, free: 236 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003545/0.1304, allocations: 216 kB / 0.561 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.1304, allocations: 25.03 kB / 0.561 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.898e-05/0.1304, allocations: 32.38 kB / 0.5611 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004406/0.1309, allocations: 234.2 kB / 0.5613 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1309, allocations: 0 / 0.5613 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.1309, allocations: 15.94 kB / 0.5613 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.1309, allocations: 8 kB / 0.5613 GB, free: 15.67 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003342/0.1313, allocations: 166.5 kB / 0.5615 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.1323, allocations: 0.6441 MB / 0.5621 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005437/0.1328, allocations: 217.7 kB / 0.5623 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.1329, allocations: 61.3 kB / 0.5624 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.133, allocations: 4.234 kB / 0.5624 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.133, allocations: 34.8 kB / 0.5624 GB, free: 14.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=27): time 1.252e-06/0.133, allocations: 0 / 0.5624 GB, free: 14.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004972/0.1335, allocations: 220.7 kB / 0.5626 GB, free: 14.26 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.1335, allocations: 63.34 kB / 0.5627 GB, free: 14.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.099e-05/0.1336, allocations: 101.8 kB / 0.5628 GB, free: 14.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.1337, allocations: 33.7 kB / 0.5628 GB, free: 14.04 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.1338, allocations: 140.6 kB / 0.5629 GB, free: 13.89 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.699e-05/0.1339, allocations: 99.16 kB / 0.563 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.147e-05/0.1339, allocations: 41.7 kB / 0.5631 GB, free: 13.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1341, allocations: 322.8 kB / 0.5634 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.1342, allocations: 43.97 kB / 0.5634 GB, free: 13.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.426e-05/0.1343, allocations: 48.91 kB / 0.5635 GB, free: 13.34 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002307/0.1345, allocations: 117.3 kB / 0.5636 GB, free: 13.22 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1345, allocations: 3.938 kB / 0.5636 GB, free: 13.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003119/0.1348, allocations: 173.5 kB / 0.5637 GB, free: 13.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.1348, allocations: 4 kB / 0.5637 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.1349, allocations: 0 / 0.5637 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.1349, allocations: 4 kB / 0.5637 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000382/0.1352, allocations: 99.88 kB / 0.5638 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.1353, allocations: 4 kB / 0.5638 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.314e-05/0.1353, allocations: 15.89 kB / 0.5639 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.1353, allocations: 8 kB / 0.5639 GB, free: 12.91 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.0001243/0.1355, allocations: 129.8 kB / 0.564 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.833e-05/0.1355, allocations: 7.953 kB / 0.564 GB, free: 12.76 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.801e-05/0.1356, allocations: 33.5 kB / 0.564 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.1356, allocations: 7.938 kB / 0.564 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1356, allocations: 0 / 0.564 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1356, allocations: 0 / 0.564 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003436/0.136, allocations: 289.4 kB / 0.5643 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.136, allocations: 4.188 kB / 0.5643 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003805/0.1363, allocations: 103.9 kB / 0.5644 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.1363, allocations: 4 kB / 0.5644 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.1364, allocations: 3.984 kB / 0.5644 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.1364, allocations: 7.938 kB / 0.5644 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1364, allocations: 0 / 0.5644 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003637/0.1367, allocations: 275.6 kB / 0.5647 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.387e-05/0.1368, allocations: 92.98 kB / 0.5648 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.1368, allocations: 4 kB / 0.5648 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.6e-05/0.1369, allocations: 11.94 kB / 0.5648 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.1369, allocations: 15.98 kB / 0.5648 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.137, allocations: 4 kB / 0.5648 GB, free: 11.84 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.257e-05/0.137, allocations: 91.27 kB / 0.5649 GB, free: 11.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.137, allocations: 0 / 0.5649 GB, free: 11.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002922/0.1373, allocations: 59.73 kB / 0.565 GB, free: 11.69 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.000852/0.1382, allocations: 0.8647 MB / 0.5658 GB, free: 10.8 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003064/0.1385, allocations: 124.3 kB / 0.5659 GB, free: 10.68 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1385, allocations: 0 / 0.5659 GB, free: 10.68 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.1386, allocations: 72.36 kB / 0.566 GB, free: 10.61 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.1388, allocations: 18.33 kB / 0.566 GB, free: 10.59 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002586/0.1414, allocations: 1.985 MB / 0.568 GB, free: 8.527 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004326/0.1419, allocations: 0.7513 MB / 0.5687 GB, free: 7.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.927e-05/0.142, allocations: 21.41 kB / 0.5687 GB, free: 7.727 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.1421, allocations: 63.42 kB / 0.5688 GB, free: 7.664 MB / 430.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1421, allocations: 0 / 0.5688 GB, free: 7.664 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02503/0.1671, allocations: 2.783 MB / 0.5715 GB, free: 4.949 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.358/8.525, allocations: 15.88 kB / 0.5715 GB, free: 4.934 MB / 430.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Blocks_ConversionBlocks_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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.mat","/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.68883229396306]