Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004908/0.004908, allocations: 100.4 kB / 15.87 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 189.5 kB / 16.78 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.281/1.281, allocations: 205.1 MB / 222.6 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3326/0.3326, allocations: 43.49 MB / 313.5 MB, free: 8.527 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001552, allocations: 66.56 kB / 382.1 MB, free: 8.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1286, allocations: 57.79 MB / 439.9 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.00476/0.1334, allocations: 2.153 MB / 442.1 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002583/0.1361, allocations: 1.321 MB / 443.4 MB, free: 11.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002167/0.1363, allocations: 4 kB / 443.4 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000113/0.1365, allocations: 11.86 kB / 443.4 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002144/0.1367, allocations: 23.78 kB / 443.4 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007861/0.1375, allocations: 155.6 kB / 443.6 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002889/0.1378, allocations: 172.1 kB / 443.7 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002756/0.1381, allocations: 95.58 kB / 443.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002091/0.1383, allocations: 79.58 kB / 443.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.1384, allocations: 79.61 kB / 444 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.831e-05/0.1385, allocations: 15.94 kB / 444 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004089/0.1389, allocations: 147.9 kB / 444.2 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.974e-05/0.139, allocations: 39.78 kB / 444.2 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.869e-05/0.1391, allocations: 83.53 kB / 444.3 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006308/0.1397, allocations: 299.3 kB / 444.6 MB, free: 10.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1397, allocations: 0 / 444.6 MB, free: 10.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1397, allocations: 0 / 444.6 MB, free: 10.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.136e-06/0.1397, allocations: 0 / 444.6 MB, free: 10.06 MB / 382.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.0008405/0.1406, allocations: 0.5227 MB / 445.1 MB, free: 9.488 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.1406, allocations: 12.03 kB / 445.1 MB, free: 9.477 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000138/0.1408, allocations: 83.17 kB / 445.2 MB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009727/0.1418, allocations: 76.52 kB / 445.3 MB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.142, allocations: 192.1 kB / 445.4 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.142, allocations: 21.03 kB / 445.5 MB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.775e-05/0.142, allocations: 32.38 kB / 445.5 MB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004513/0.1425, allocations: 234.2 kB / 445.7 MB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.1425, allocations: 3.984 kB / 445.7 MB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/0.1426, allocations: 19.94 kB / 445.7 MB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.1426, allocations: 8 kB / 445.8 MB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003072/0.1429, allocations: 158.5 kB / 445.9 MB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009594/0.1439, allocations: 0.6632 MB / 446.6 MB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005107/0.1444, allocations: 231.3 kB / 446.8 MB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.1445, allocations: 69.3 kB / 446.9 MB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.1446, allocations: 8.219 kB / 446.9 MB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.1446, allocations: 30.8 kB / 446.9 MB, free: 7.543 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.623e-06/0.1446, allocations: 4 kB / 446.9 MB, free: 7.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004695/0.1451, allocations: 222.4 kB / 447.1 MB, free: 7.316 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.1451, allocations: 59.34 kB / 447.2 MB, free: 7.246 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.238e-05/0.1452, allocations: 101.8 kB / 447.3 MB, free: 7.137 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.1452, allocations: 25.7 kB / 447.3 MB, free: 7.105 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.55e-05/0.1453, allocations: 152.3 kB / 447.5 MB, free: 6.953 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.481e-05/0.1454, allocations: 90.66 kB / 447.5 MB, free: 6.863 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.408e-05/0.1455, allocations: 41.7 kB / 447.6 MB, free: 6.816 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1456, allocations: 326.8 kB / 447.9 MB, free: 6.488 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.237e-05/0.1457, allocations: 39.98 kB / 447.9 MB, free: 6.449 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.141e-05/0.1458, allocations: 44.91 kB / 448 MB, free: 6.406 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002018/0.146, allocations: 117.3 kB / 448.1 MB, free: 6.289 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.146, allocations: 0 / 448.1 MB, free: 6.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002931/0.1463, allocations: 169.5 kB / 448.3 MB, free: 6.117 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.1463, allocations: 7.984 kB / 448.3 MB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1463, allocations: 4.25 kB / 448.3 MB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.1464, allocations: 0 / 448.3 MB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003431/0.1467, allocations: 107.8 kB / 448.4 MB, free: 6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.1467, allocations: 0 / 448.4 MB, free: 6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.164e-05/0.1468, allocations: 15.83 kB / 448.4 MB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.1468, allocations: 12 kB / 448.4 MB, free: 5.973 MB / 382.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.0001322/0.147, allocations: 125.8 kB / 448.5 MB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.038e-05/0.147, allocations: 15.81 kB / 448.6 MB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.811e-05/0.1471, allocations: 21.12 kB / 448.6 MB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.1471, allocations: 7.938 kB / 448.6 MB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.1471, allocations: 0 / 448.6 MB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1471, allocations: 7.922 kB / 448.6 MB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003529/0.1475, allocations: 281.4 kB / 448.9 MB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.1475, allocations: 0 / 448.9 MB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000343/0.1478, allocations: 103.9 kB / 449 MB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.1479, allocations: 0 / 449 MB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.1479, allocations: 8 kB / 449 MB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.1479, allocations: 3.938 kB / 449 MB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1479, allocations: 0 / 449 MB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003448/0.1482, allocations: 279.5 kB / 449.3 MB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.064e-05/0.1483, allocations: 88.95 kB / 449.3 MB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.1484, allocations: 7.938 kB / 449.3 MB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.899e-05/0.1484, allocations: 7.938 kB / 449.4 MB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.262e-05/0.1485, allocations: 23.91 kB / 449.4 MB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.739e-06/0.1485, allocations: 4 kB / 449.4 MB, free: 4.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.244e-05/0.1486, allocations: 83.28 kB / 449.5 MB, free: 4.828 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1486, allocations: 0 / 449.5 MB, free: 4.828 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002855/0.1489, allocations: 51.75 kB / 449.5 MB, free: 4.777 MB / 382.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.000769/0.1496, allocations: 0.8762 MB / 450.4 MB, free: 3.871 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002793/0.1499, allocations: 136.3 kB / 450.5 MB, free: 3.738 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1499, allocations: 0 / 450.5 MB, free: 3.738 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.1501, allocations: 88.3 kB / 450.6 MB, free: 3.652 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.1503, allocations: 15.88 kB / 450.6 MB, free: 3.637 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002459/0.1528, allocations: 2.046 MB / 452.7 MB, free: 1.516 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.1532, allocations: 0.7439 MB / 453.4 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001319/0.1533, allocations: 13.42 kB / 453.4 MB, free: 0.7344 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.1535, allocations: 71.41 kB / 453.5 MB, free: 0.6641 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1535, allocations: 0 / 453.5 MB, free: 0.6641 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1857/0.3392, allocations: 2.495 MB / 456 MB, free: 48.1 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000143/0.3394, allocations: 187.5 kB / 456.2 MB, free: 47.85 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.749/2.088, allocations: 3.938 kB / 456.2 MB, free: 47.85 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches