Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.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.001383/0.001383, 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.001421/0.001421, 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.502/1.502, 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.2308/0.2308, allocations: 46.93 MB / 357 MB, free: 10.18 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.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002262/0.002262, allocations: 83.88 kB / 0.491 GB, free: 7.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1323, allocations: 66.04 MB / 0.5555 GB, free: 5.508 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.00392/0.1362, allocations: 2.125 MB / 0.5576 GB, free: 3.359 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002445/0.1387, allocations: 1.387 MB / 0.5589 GB, free: 1.965 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.1388, allocations: 4 kB / 0.5589 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 6.991e-05/0.1389, allocations: 31.66 kB / 0.5589 GB, free: 1.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001289/0.139, allocations: 39.59 kB / 0.559 GB, free: 1.891 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005428/0.1395, allocations: 187.2 kB / 0.5592 GB, free: 1.707 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002403/0.1398, allocations: 180.1 kB / 0.5593 GB, free: 1.531 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002017/0.14, allocations: 91.31 kB / 0.5594 GB, free: 1.445 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/0.1402, allocations: 87.64 kB / 0.5595 GB, free: 1.359 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.1403, allocations: 91.48 kB / 0.5596 GB, free: 1.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.547e-05/0.1403, allocations: 20 kB / 0.5596 GB, free: 1.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003191/0.1406, allocations: 151.9 kB / 0.5598 GB, free: 1.102 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.746e-05/0.1406, allocations: 39.84 kB / 0.5598 GB, free: 1.062 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.1408, allocations: 95.45 kB / 0.5599 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004305/0.1412, allocations: 318.6 kB / 0.5602 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1412, allocations: 0 / 0.5602 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1412, allocations: 0 / 0.5602 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.355e-06/0.1412, allocations: 3.984 kB / 0.5602 GB, free: 0.6523 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.0006845/0.1419, allocations: 0.5298 MB / 0.5607 GB, free: 72 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.1419, allocations: 8.031 kB / 0.5607 GB, free: 64 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001351/0.1421, allocations: 91.53 kB / 0.5608 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009446/0.143, allocations: 84.69 kB / 0.5609 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.1433, allocations: 220 kB / 0.5611 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.1433, allocations: 21.03 kB / 0.5611 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.462e-05/0.1434, allocations: 36.38 kB / 0.5611 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004102/0.1438, allocations: 233.8 kB / 0.5614 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.1438, allocations: 0 / 0.5614 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.556e-05/0.1438, allocations: 16 kB / 0.5614 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.1438, allocations: 11.94 kB / 0.5614 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003151/0.1442, allocations: 166.5 kB / 0.5616 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009622/0.1451, allocations: 0.6441 MB / 0.5622 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005346/0.1457, allocations: 217.5 kB / 0.5624 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.1458, allocations: 65.3 kB / 0.5625 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.1458, allocations: 240 / 0.5625 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.1458, allocations: 38.8 kB / 0.5625 GB, free: 14.11 MB / 430.1 MB Notification: Performance of pre-optimization done (n=27): time 1.172e-06/0.1458, allocations: 0 / 0.5625 GB, free: 14.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004783/0.1463, allocations: 223.7 kB / 0.5627 GB, free: 13.89 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.1463, allocations: 51.41 kB / 0.5628 GB, free: 13.83 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.443e-05/0.1464, allocations: 105.8 kB / 0.5629 GB, free: 13.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.1465, allocations: 33.7 kB / 0.5629 GB, free: 13.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.492e-05/0.1465, allocations: 144.6 kB / 0.563 GB, free: 13.53 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.174e-05/0.1466, allocations: 95.17 kB / 0.5631 GB, free: 13.44 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.95e-05/0.1467, allocations: 41.7 kB / 0.5632 GB, free: 13.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1468, allocations: 322.8 kB / 0.5635 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.1469, allocations: 39.97 kB / 0.5635 GB, free: 13.03 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.514e-05/0.147, allocations: 48.91 kB / 0.5635 GB, free: 12.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.1473, allocations: 121.3 kB / 0.5637 GB, free: 12.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1473, allocations: 3.938 kB / 0.5637 GB, free: 12.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002879/0.1475, allocations: 173.5 kB / 0.5638 GB, free: 12.68 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.1476, allocations: 4 kB / 0.5638 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1476, allocations: 0 / 0.5638 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.1476, allocations: 3.938 kB / 0.5638 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003645/0.1479, allocations: 99.94 kB / 0.5639 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.148, allocations: 4 kB / 0.5639 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.158e-05/0.148, allocations: 19.83 kB / 0.564 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.148, allocations: 8 kB / 0.564 GB, free: 12.54 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.0001304/0.1482, allocations: 121.8 kB / 0.5641 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.528e-05/0.1482, allocations: 7.953 kB / 0.5641 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.258e-05/0.1483, allocations: 29.47 kB / 0.5641 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.1483, allocations: 4 kB / 0.5641 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.1483, allocations: 4 kB / 0.5641 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.1483, allocations: 3.984 kB / 0.5641 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003294/0.1486, allocations: 281.4 kB / 0.5644 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1486, allocations: 4 kB / 0.5644 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003585/0.149, allocations: 99.81 kB / 0.5645 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.149, allocations: 4 kB / 0.5645 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.149, allocations: 8.188 kB / 0.5645 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.149, allocations: 4 kB / 0.5645 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.149, allocations: 8 kB / 0.5645 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003458/0.1494, allocations: 279.5 kB / 0.5648 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.404e-05/0.1494, allocations: 89 kB / 0.5649 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.1494, allocations: 7.938 kB / 0.5649 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.224e-05/0.1495, allocations: 11.98 kB / 0.5649 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.1496, allocations: 19.98 kB / 0.5649 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.1496, allocations: 4 kB / 0.5649 GB, free: 11.48 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.038e-05/0.1496, allocations: 87.27 kB / 0.565 GB, free: 11.39 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1496, allocations: 0 / 0.565 GB, free: 11.39 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002956/0.1499, allocations: 59.73 kB / 0.5651 GB, free: 11.34 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.0007723/0.1507, allocations: 0.8647 MB / 0.5659 GB, free: 10.44 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002834/0.151, allocations: 132.3 kB / 0.566 GB, free: 10.31 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.151, allocations: 0 / 0.566 GB, free: 10.31 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.1511, allocations: 68.38 kB / 0.5661 GB, free: 10.25 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.1513, allocations: 8 kB / 0.5661 GB, free: 10.24 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002301/0.1536, allocations: 1.989 MB / 0.568 GB, free: 8.172 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/0.154, allocations: 0.7474 MB / 0.5688 GB, free: 7.398 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.231e-05/0.1541, allocations: 13.41 kB / 0.5688 GB, free: 7.383 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.1542, allocations: 71.41 kB / 0.5689 GB, free: 7.312 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1542, allocations: 0 / 0.5689 GB, free: 7.312 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02393/0.1781, allocations: 2.789 MB / 0.5716 GB, free: 4.586 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.994/8.172, allocations: 0 / 0.5716 GB, free: 4.586 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.390148732927628]