Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) 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(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_4_0_0_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_4_0_0_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.001082/0.001082, allocations: 113.2 kB / 16.63 MB, free: 6.812 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.001102/0.001102, allocations: 189.8 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 49.22 kB / 300.2 MB, free: 6.137 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1331, allocations: 49.45 MB / 349.7 MB, free: 4.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003394/0.1365, allocations: 1.565 MB / 351.2 MB, free: 3.102 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.1376, allocations: 0.4909 MB / 351.7 MB, free: 2.605 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.988e-05/0.1377, allocations: 0 / 351.7 MB, free: 2.605 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001703/0.138, allocations: 15.94 kB / 351.7 MB, free: 2.59 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.1381, allocations: 7.922 kB / 351.8 MB, free: 2.582 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002103/0.1383, allocations: 39.91 kB / 351.8 MB, free: 2.543 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.1384, allocations: 55.84 kB / 351.8 MB, free: 2.488 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.1385, allocations: 12 kB / 351.9 MB, free: 2.477 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.1387, allocations: 31.91 kB / 351.9 MB, free: 2.445 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.595e-05/0.1388, allocations: 27.91 kB / 351.9 MB, free: 2.418 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.1388, allocations: 4 kB / 351.9 MB, free: 2.414 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.734e-05/0.1389, allocations: 23.94 kB / 351.9 MB, free: 2.391 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.065e-05/0.1389, allocations: 11.92 kB / 352 MB, free: 2.379 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.771e-05/0.139, allocations: 27.86 kB / 352 MB, free: 2.352 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.1391, allocations: 71.78 kB / 352.1 MB, free: 2.281 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1392, allocations: 0 / 352.1 MB, free: 2.281 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1392, allocations: 0 / 352.1 MB, free: 2.281 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1392, allocations: 0 / 352.1 MB, free: 2.281 MB / 286.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.0007091/0.1399, allocations: 383.6 kB / 352.4 MB, free: 1.859 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.1399, allocations: 8.031 kB / 352.4 MB, free: 1.852 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.159e-05/0.14, allocations: 34.75 kB / 352.5 MB, free: 1.809 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.502e-05/0.14, allocations: 8.844 kB / 352.5 MB, free: 1.801 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.1402, allocations: 184.1 kB / 352.7 MB, free: 1.582 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.197e-05/0.1402, allocations: 384 / 352.7 MB, free: 1.582 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.1403, allocations: 4.375 kB / 352.7 MB, free: 1.578 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000298/0.1406, allocations: 93.77 kB / 352.8 MB, free: 1.48 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.1406, allocations: 0 / 352.8 MB, free: 1.48 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.1406, allocations: 4 kB / 352.8 MB, free: 1.477 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1406, allocations: 4 kB / 352.8 MB, free: 1.473 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000316/0.1409, allocations: 79.86 kB / 352.8 MB, free: 1.395 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004799/0.1414, allocations: 308.8 kB / 353.1 MB, free: 1.043 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002565/0.1417, allocations: 78.56 kB / 353.2 MB, free: 0.957 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/0.1419, allocations: 36.95 kB / 353.3 MB, free: 0.918 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.1419, allocations: 8 kB / 353.3 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.1419, allocations: 34.56 kB / 353.3 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.1419, allocations: 0 / 353.3 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005759/0.1425, allocations: 153.5 kB / 353.4 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.1426, allocations: 63.34 kB / 353.5 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.069e-05/0.1427, allocations: 105.8 kB / 353.6 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.1427, allocations: 29.7 kB / 353.6 MB, free: 500 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.266e-05/0.1427, allocations: 103.9 kB / 353.7 MB, free: 392 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.1428, allocations: 11.81 kB / 353.8 MB, free: 380 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.667e-05/0.1428, allocations: 21.7 kB / 353.8 MB, free: 352 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.143, allocations: 318.8 kB / 354.1 MB, free: 24 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/0.1431, allocations: 39.95 kB / 354.1 MB, free: 15.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.1433, allocations: 35.97 kB / 354.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/0.1436, allocations: 76.78 kB / 354.2 MB, free: 15.87 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1436, allocations: 384 / 354.2 MB, free: 15.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003395/0.1439, allocations: 117.6 kB / 354.3 MB, free: 15.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.1439, allocations: 4 kB / 354.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.144, allocations: 0 / 354.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.144, allocations: 7.938 kB / 354.4 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.1441, allocations: 19.97 kB / 354.4 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.1441, allocations: 0 / 354.4 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.641e-05/0.1442, allocations: 19.92 kB / 354.4 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.1443, allocations: 3.938 kB / 354.4 MB, free: 15.7 MB / 302.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 9.185e-05/0.1444, allocations: 113.8 kB / 354.5 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.092e-05/0.1444, allocations: 3.906 kB / 354.5 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003972/0.1448, allocations: 137.5 kB / 354.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1448, allocations: 0 / 354.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1448, allocations: 0 / 354.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1448, allocations: 4 kB / 354.7 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.145, allocations: 189.5 kB / 354.8 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.145, allocations: 0 / 354.8 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.1452, allocations: 20.42 kB / 354.9 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.1452, allocations: 0 / 354.9 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.1452, allocations: 4 kB / 354.9 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.678e-06/0.1452, allocations: 8 kB / 354.9 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1452, allocations: 4 kB / 354.9 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003987/0.1456, allocations: 215.3 kB / 355.1 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.689e-05/0.1457, allocations: 88.95 kB / 355.2 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.1457, allocations: 0 / 355.2 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.1458, allocations: 23.97 kB / 355.2 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/0.1459, allocations: 0 / 355.2 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.1459, allocations: 4 kB / 355.2 MB, free: 14.79 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.024e-05/0.1459, allocations: 91.2 kB / 355.3 MB, free: 14.7 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1459, allocations: 7.938 kB / 355.3 MB, free: 14.7 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002322/0.1462, allocations: 12 kB / 355.3 MB, free: 14.68 MB / 302.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.0006965/0.1469, allocations: 0.7552 MB / 356.1 MB, free: 13.9 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003652/0.1473, allocations: 91.84 kB / 356.2 MB, free: 13.81 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1473, allocations: 0 / 356.2 MB, free: 13.81 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001666/0.1474, allocations: 47.91 kB / 356.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.1478, allocations: 13.34 kB / 356.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005459/0.1483, allocations: 231.9 kB / 356.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.1486, allocations: 0.6885 MB / 357.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.66e-05/0.1487, allocations: 0 / 357.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.112e-05/0.1487, allocations: 23.42 kB / 357.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1487, allocations: 0 / 357.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01385/0.1626, allocations: 1.804 MB / 359 MB, free: 11.06 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002177/0.1628, allocations: 203.9 kB / 359.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.976/2.139, allocations: 0 / 359.2 MB, free: 10.81 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_ComplexBlocks_Examples_TestConversionBlock_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_ComplexBlocks_Examples_TestConversionBlock.fmu > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches