Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.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) 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(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_3_2_3_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_3_2_3_Modelica_ComplexBlocks_Examples_TestConversionBlock",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.00132/0.00132, allocations: 102.4 kB / 17.58 MB, free: 5.426 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.0013/0.001301, allocations: 187.9 kB / 18.51 MB, free: 4.512 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.935/1.935, allocations: 205.1 MB / 224.4 MB, free: 12.32 MB / 190.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.001286/0.001286, allocations: 52.14 kB / 280.7 MB, free: 3.098 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1379, allocations: 46.63 MB / 327.4 MB, free: 4.398 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.00325/0.1412, allocations: 1.496 MB / 328.9 MB, free: 2.879 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.1423, allocations: 0.5315 MB / 329.4 MB, free: 2.34 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.598e-05/0.1424, allocations: 7.938 kB / 329.4 MB, free: 2.332 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001178/0.1425, allocations: 19.88 kB / 329.4 MB, free: 2.312 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.388e-05/0.1426, allocations: 23.84 kB / 329.4 MB, free: 2.289 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001597/0.1427, allocations: 27.92 kB / 329.5 MB, free: 2.262 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.1429, allocations: 51.91 kB / 329.5 MB, free: 2.211 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.143, allocations: 19.97 kB / 329.5 MB, free: 2.191 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.1432, allocations: 35.86 kB / 329.6 MB, free: 2.156 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.081e-05/0.1433, allocations: 31.84 kB / 329.6 MB, free: 2.125 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.1433, allocations: 4 kB / 329.6 MB, free: 2.121 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.93e-05/0.1434, allocations: 16 kB / 329.6 MB, free: 2.105 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.709e-05/0.1434, allocations: 19.92 kB / 329.7 MB, free: 2.086 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.401e-05/0.1435, allocations: 23.88 kB / 329.7 MB, free: 2.062 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.1437, allocations: 63.84 kB / 329.7 MB, free: 2 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1437, allocations: 3.938 kB / 329.7 MB, free: 1.996 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.637e-06/0.1437, allocations: 0 / 329.7 MB, free: 1.996 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.1437, allocations: 3.938 kB / 329.7 MB, free: 1.992 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008407/0.1445, allocations: 387.5 kB / 330.1 MB, free: 1.566 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.1446, allocations: 16.03 kB / 330.1 MB, free: 1.551 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.722e-05/0.1447, allocations: 38.73 kB / 330.2 MB, free: 1.504 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.648e-05/0.1447, allocations: 8.844 kB / 330.2 MB, free: 1.496 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.1449, allocations: 164.4 kB / 330.3 MB, free: 1.297 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.1449, allocations: 384 / 330.3 MB, free: 1.297 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.1449, allocations: 4.375 kB / 330.3 MB, free: 1.293 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003096/0.1452, allocations: 89.7 kB / 330.4 MB, free: 1.199 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.1453, allocations: 0 / 330.4 MB, free: 1.199 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.1453, allocations: 4 kB / 330.4 MB, free: 1.195 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1453, allocations: 4 kB / 330.4 MB, free: 1.191 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003172/0.1456, allocations: 79.91 kB / 330.5 MB, free: 1.113 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004955/0.1461, allocations: 312.6 kB / 330.8 MB, free: 0.7578 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000241/0.1464, allocations: 74.53 kB / 330.9 MB, free: 0.6758 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/0.1466, allocations: 48.94 kB / 330.9 MB, free: 0.625 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.1466, allocations: 0 / 330.9 MB, free: 0.625 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.1466, allocations: 38.5 kB / 331 MB, free: 0.5781 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 9.71e-07/0.1466, allocations: 4 kB / 331 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006089/0.1472, allocations: 153.5 kB / 331.1 MB, free: 428 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.1473, allocations: 51.41 kB / 331.2 MB, free: 364 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.842e-05/0.1474, allocations: 109.8 kB / 331.3 MB, free: 244 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.874e-05/0.1474, allocations: 29.7 kB / 331.3 MB, free: 208 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.101e-05/0.1475, allocations: 88.14 kB / 331.4 MB, free: 116 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/0.1475, allocations: 23.64 kB / 331.4 MB, free: 92 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.651e-05/0.1476, allocations: 17.72 kB / 331.5 MB, free: 68 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.1478, allocations: 322.8 kB / 331.8 MB, free: 15.74 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.1479, allocations: 31.97 kB / 331.8 MB, free: 15.71 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.1481, allocations: 43.95 kB / 331.8 MB, free: 15.67 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003113/0.1484, allocations: 85.11 kB / 331.9 MB, free: 15.58 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1484, allocations: 0 / 331.9 MB, free: 15.58 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000341/0.1488, allocations: 117.6 kB / 332 MB, free: 15.46 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.1488, allocations: 4 kB / 332 MB, free: 15.46 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.1488, allocations: 0 / 332 MB, free: 15.46 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.1488, allocations: 3.938 kB / 332 MB, free: 15.45 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.149, allocations: 15.98 kB / 332.1 MB, free: 15.44 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.149, allocations: 0 / 332.1 MB, free: 15.44 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.331e-05/0.1491, allocations: 15.97 kB / 332.1 MB, free: 15.42 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.1491, allocations: 7.938 kB / 332.1 MB, free: 15.41 MB / 286.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 (5): * Single equations (assignments): 5 * 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.0001015/0.1492, allocations: 113.8 kB / 332.2 MB, free: 15.29 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/0.1492, allocations: 7.906 kB / 332.2 MB, free: 15.29 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004145/0.1497, allocations: 137.5 kB / 332.3 MB, free: 15.14 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.1497, allocations: 0 / 332.3 MB, free: 15.14 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1497, allocations: 0 / 332.3 MB, free: 15.14 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1497, allocations: 0 / 332.3 MB, free: 15.14 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002056/0.1499, allocations: 189.6 kB / 332.5 MB, free: 14.91 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1499, allocations: 0 / 332.5 MB, free: 14.91 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.15, allocations: 23.97 kB / 332.5 MB, free: 14.89 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.15, allocations: 0 / 332.5 MB, free: 14.89 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.1501, allocations: 4.375 kB / 332.6 MB, free: 14.88 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1501, allocations: 0 / 332.6 MB, free: 14.88 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1501, allocations: 0 / 332.6 MB, free: 14.88 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004798/0.1506, allocations: 231.3 kB / 332.8 MB, free: 14.64 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.289e-05/0.1506, allocations: 84.95 kB / 332.9 MB, free: 14.54 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.1506, allocations: 0 / 332.9 MB, free: 14.54 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.1507, allocations: 15.98 kB / 332.9 MB, free: 14.52 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.1508, allocations: 7.984 kB / 332.9 MB, free: 14.52 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.1508, allocations: 64 / 332.9 MB, free: 14.52 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.332e-05/0.1509, allocations: 91.22 kB / 333 MB, free: 14.43 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1509, allocations: 4 kB / 333 MB, free: 14.42 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002191/0.1511, allocations: 8 kB / 333 MB, free: 14.41 MB / 286.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 (7): * Single equations (assignments): 7 * 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.0009536/0.1521, allocations: 0.7632 MB / 333.7 MB, free: 13.62 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003894/0.1525, allocations: 83.92 kB / 333.8 MB, free: 13.54 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1525, allocations: 0 / 333.8 MB, free: 13.54 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.1527, allocations: 55.89 kB / 333.9 MB, free: 13.49 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.153, allocations: 8 kB / 333.9 MB, free: 13.48 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005739/0.1536, allocations: 199.6 kB / 334.1 MB, free: 13.25 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004125/0.1541, allocations: 0.6885 MB / 334.8 MB, free: 12.53 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.804e-05/0.1541, allocations: 3.984 kB / 334.8 MB, free: 12.53 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.903e-05/0.1542, allocations: 23.38 kB / 334.8 MB, free: 12.5 MB / 286.1 MB Notification: Performance of SimCode: time 8.42e-07/0.1542, allocations: 0 / 334.8 MB, free: 12.5 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0265/0.1807, allocations: 1.977 MB / 336.8 MB, free: 10.48 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.848/8.029, allocations: 15.62 kB / 336.8 MB, free: 10.46 MB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_ComplexBlocks_Examples_TestConversionBlock_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_ComplexBlocks_Examples_TestConversionBlock.fmu > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches