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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 119 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001827/0.001827, allocations: 190.9 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 225.6 MB / 249.8 MB, free: 3.645 MB / 190.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.2234/0.2234, allocations: 44.91 MB / 349.6 MB, free: 1.75 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 64.44 kB / 491.8 MB, free: 30.1 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1266, allocations: 64.26 MB / 0.543 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003812/0.1304, allocations: 2.107 MB / 0.5451 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002475/0.1328, allocations: 1.316 MB / 0.5464 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.133, allocations: 8 kB / 0.5464 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.635e-05/0.133, allocations: 27.66 kB / 0.5464 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.1332, allocations: 35.7 kB / 0.5464 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005174/0.1337, allocations: 187.3 kB / 0.5466 GB, free: 416 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002452/0.1339, allocations: 172.1 kB / 0.5468 GB, free: 244 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002207/0.1342, allocations: 79.88 kB / 0.5468 GB, free: 164 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002133/0.1344, allocations: 75.64 kB / 0.5469 GB, free: 88 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.1345, allocations: 91.62 kB / 0.547 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.1345, allocations: 16 kB / 0.547 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002832/0.1348, allocations: 147.9 kB / 0.5472 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.242e-05/0.1349, allocations: 47.69 kB / 0.5472 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.485e-05/0.1349, allocations: 91.47 kB / 0.5473 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004424/0.1354, allocations: 318.5 kB / 0.5476 GB, free: 15.39 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1354, allocations: 0 / 0.5476 GB, free: 15.39 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1354, allocations: 0 / 0.5476 GB, free: 15.39 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.1354, allocations: 0 / 0.5476 GB, free: 15.39 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.000705/0.1361, allocations: 0.5298 MB / 0.5481 GB, free: 14.81 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.1362, allocations: 12.03 kB / 0.5481 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001258/0.1363, allocations: 87.19 kB / 0.5482 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008414/0.1371, allocations: 76.7 kB / 0.5483 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.1373, allocations: 192 kB / 0.5485 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.1373, allocations: 21.03 kB / 0.5485 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.934e-05/0.1374, allocations: 36.36 kB / 0.5485 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004311/0.1378, allocations: 230.2 kB / 0.5487 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.1378, allocations: 0 / 0.5487 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.506e-05/0.1379, allocations: 19.98 kB / 0.5488 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.1379, allocations: 11.94 kB / 0.5488 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000327/0.1382, allocations: 158.5 kB / 0.5489 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.1393, allocations: 0.6441 MB / 0.5496 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005542/0.1398, allocations: 223.3 kB / 0.5498 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001389/0.1399, allocations: 61.3 kB / 0.5498 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.14, allocations: 4.234 kB / 0.5498 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/0.14, allocations: 38.8 kB / 0.5499 GB, free: 12.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 1.423e-06/0.14, allocations: 0 / 0.5499 GB, free: 12.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.0005225/0.1405, allocations: 212.1 kB / 0.5501 GB, free: 12.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.1406, allocations: 59.34 kB / 0.5501 GB, free: 12.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.022e-05/0.1407, allocations: 101.9 kB / 0.5502 GB, free: 12.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.1407, allocations: 33.7 kB / 0.5503 GB, free: 12.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.1408, allocations: 156.5 kB / 0.5504 GB, free: 12.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.441e-05/0.1409, allocations: 95.11 kB / 0.5505 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.151e-05/0.141, allocations: 49.69 kB / 0.5505 GB, free: 12.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.1412, allocations: 314.8 kB / 0.5508 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.1413, allocations: 43.97 kB / 0.5509 GB, free: 11.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.038e-05/0.1414, allocations: 46.08 kB / 0.5509 GB, free: 11.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002182/0.1416, allocations: 118.2 kB / 0.551 GB, free: 11.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1416, allocations: 0 / 0.551 GB, free: 11.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002724/0.1418, allocations: 165.8 kB / 0.5512 GB, free: 11.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.1419, allocations: 4 kB / 0.5512 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.1419, allocations: 4 kB / 0.5512 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.1419, allocations: 7.984 kB / 0.5512 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003601/0.1423, allocations: 103.8 kB / 0.5513 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.1423, allocations: 0 / 0.5513 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.702e-05/0.1423, allocations: 15.89 kB / 0.5513 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.1423, allocations: 11.98 kB / 0.5513 GB, free: 11.32 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.0001281/0.1425, allocations: 125.8 kB / 0.5515 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.1425, allocations: 11.91 kB / 0.5515 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.351e-05/0.1426, allocations: 29.12 kB / 0.5515 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.1426, allocations: 3.938 kB / 0.5515 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.1426, allocations: 4 kB / 0.5515 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1426, allocations: 4 kB / 0.5515 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003469/0.1429, allocations: 289.4 kB / 0.5518 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.1429, allocations: 3.938 kB / 0.5518 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003305/0.1433, allocations: 99.88 kB / 0.5519 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1433, allocations: 0 / 0.5519 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.1433, allocations: 4 kB / 0.5519 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.1433, allocations: 11.94 kB / 0.5519 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1433, allocations: 0 / 0.5519 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003245/0.1436, allocations: 267.4 kB / 0.5522 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.802e-05/0.1437, allocations: 92.98 kB / 0.5522 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.1437, allocations: 8 kB / 0.5522 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.972e-05/0.1438, allocations: 7.938 kB / 0.5523 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/0.1438, allocations: 19.97 kB / 0.5523 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/0.1438, allocations: 11.94 kB / 0.5523 GB, free: 10.26 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.49e-05/0.1439, allocations: 83.28 kB / 0.5524 GB, free: 10.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1439, allocations: 0 / 0.5524 GB, free: 10.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002852/0.1442, allocations: 59.73 kB / 0.5524 GB, free: 10.12 MB / 414.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.0008489/0.145, allocations: 0.8729 MB / 0.5533 GB, free: 9.219 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002973/0.1453, allocations: 127.9 kB / 0.5534 GB, free: 9.094 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1453, allocations: 0 / 0.5534 GB, free: 9.094 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.1455, allocations: 71.84 kB / 0.5535 GB, free: 9.023 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.1457, allocations: 15.94 kB / 0.5535 GB, free: 9.008 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00271/0.1484, allocations: 1.971 MB / 0.5554 GB, free: 6.953 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004885/0.1489, allocations: 0.7397 MB / 0.5561 GB, free: 6.188 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.398e-05/0.149, allocations: 17.41 kB / 0.5561 GB, free: 6.172 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.1491, allocations: 63.41 kB / 0.5562 GB, free: 6.109 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1491, allocations: 7.938 kB / 0.5562 GB, free: 6.102 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0243/0.1734, allocations: 2.761 MB / 0.5589 GB, free: 3.406 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.796/7.97, allocations: 11.75 kB / 0.5589 GB, free: 3.398 MB / 414.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.158260696101934]