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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008297/0.0008297, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.004207/0.004207, allocations: 165.8 kB / 24.7 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8639/0.8639, allocations: 158.6 MB / 186.5 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 4 kB / 298.4 MB, free: 3.562 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.433e-05/1.654e-05, allocations: 2.281 kB / 298.4 MB, free: 3.559 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.001956/0.001973, allocations: 1.484 MB / 299.9 MB, free: 2.055 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006832/0.002656, allocations: 0.5002 MB / 300.4 MB, free: 1.547 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.421e-05/0.0027, allocations: 0 / 300.4 MB, free: 1.547 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.002809, allocations: 19.86 kB / 300.4 MB, free: 1.527 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.176e-05/0.002871, allocations: 15.88 kB / 300.4 MB, free: 1.512 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001578/0.003029, allocations: 43.83 kB / 300.5 MB, free: 1.469 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.575e-05/0.003115, allocations: 55.78 kB / 300.5 MB, free: 1.414 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.003216, allocations: 19.97 kB / 300.5 MB, free: 1.395 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.003324, allocations: 35.95 kB / 300.6 MB, free: 1.359 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.089e-05/0.003375, allocations: 19.92 kB / 300.6 MB, free: 1.34 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.003393, allocations: 4 kB / 300.6 MB, free: 1.336 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.116e-05/0.003444, allocations: 16 kB / 300.6 MB, free: 1.32 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.82e-05/0.003462, allocations: 19.91 kB / 300.6 MB, free: 1.301 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.223e-05/0.003485, allocations: 15.98 kB / 300.7 MB, free: 1.285 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.003616, allocations: 79.72 kB / 300.7 MB, free: 1.207 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.003618, allocations: 0 / 300.7 MB, free: 1.207 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.003619, allocations: 3.938 kB / 300.7 MB, free: 1.203 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.003623, allocations: 3.938 kB / 300.7 MB, free: 1.199 MB / 282.7 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.000476/0.004099, allocations: 306.1 kB / 301 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.004139, allocations: 11.98 kB / 301 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.068e-05/0.00417, allocations: 42.67 kB / 301.1 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.489e-05/0.004195, allocations: 8.891 kB / 301.1 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.766e-05/0.004272, allocations: 113.7 kB / 301.2 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.004287, allocations: 8.375 kB / 301.2 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.004299, allocations: 4.375 kB / 301.2 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.004474, allocations: 90.14 kB / 301.3 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.004482, allocations: 192 / 301.3 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.004492, allocations: 4.125 kB / 301.3 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.004497, allocations: 0 / 301.3 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.004664, allocations: 83.91 kB / 301.4 MB, free: 484 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003542/0.005018, allocations: 267.8 kB / 301.7 MB, free: 172 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.005171, allocations: 70.53 kB / 301.7 MB, free: 92 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.867e-05/0.00525, allocations: 40.95 kB / 301.8 MB, free: 48 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.005266, allocations: 0 / 301.8 MB, free: 48 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.005286, allocations: 34.56 kB / 301.8 MB, free: 4 kB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 8.61e-07/0.005287, allocations: 4 kB / 301.8 MB, free: 0 / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.1346/0.1399, allocations: 147.2 kB / 301.9 MB, free: 15.89 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.1399, allocations: 52.12 kB / 302 MB, free: 15.82 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.856e-05/0.14, allocations: 112.1 kB / 302.1 MB, free: 15.73 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.725e-06/0.14, allocations: 26.23 kB / 302.1 MB, free: 15.7 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.076e-05/0.14, allocations: 94.67 kB / 302.2 MB, free: 15.61 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.1401, allocations: 20.5 kB / 302.2 MB, free: 15.61 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/0.1401, allocations: 18.03 kB / 302.3 MB, free: 15.59 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.579e-05/0.1401, allocations: 323.2 kB / 302.6 MB, free: 15.28 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.249e-05/0.1402, allocations: 38.62 kB / 302.6 MB, free: 15.28 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.848e-05/0.1403, allocations: 35.58 kB / 302.7 MB, free: 15.28 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.1405, allocations: 83.31 kB / 302.7 MB, free: 15.27 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1405, allocations: 6.781 kB / 302.7 MB, free: 15.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001922/0.1407, allocations: 111.4 kB / 302.8 MB, free: 15.24 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1407, allocations: 8.188 kB / 302.9 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1407, allocations: 2.625 kB / 302.9 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.1407, allocations: 0 / 302.9 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.987e-05/0.1408, allocations: 18.92 kB / 302.9 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1408, allocations: 4.75 kB / 302.9 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.389e-05/0.1408, allocations: 14.38 kB / 302.9 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.1408, allocations: 2.281 kB / 302.9 MB, free: 15.24 MB / 282.7 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 4.745e-05/0.1409, allocations: 113.1 kB / 303 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.609e-05/0.1409, allocations: 11.44 kB / 303 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002456/0.1412, allocations: 136.5 kB / 303.2 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.1412, allocations: 0 / 303.2 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1412, allocations: 1.219 kB / 303.2 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1412, allocations: 0.6562 kB / 303.2 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.1413, allocations: 146.6 kB / 303.3 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1413, allocations: 0 / 303.3 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.521e-05/0.1413, allocations: 25.55 kB / 303.3 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1414, allocations: 7.406 kB / 303.3 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.1414, allocations: 1.922 kB / 303.3 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1414, allocations: 0.625 kB / 303.3 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1414, allocations: 0 / 303.3 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002102/0.1416, allocations: 221.4 kB / 303.5 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.063e-05/0.1416, allocations: 11.5 kB / 303.6 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.1416, allocations: 2.047 kB / 303.6 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.071e-05/0.1417, allocations: 14.8 kB / 303.6 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.1417, allocations: 9.609 kB / 303.6 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.1417, allocations: 7.125 kB / 303.6 MB, free: 14.79 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.533e-05/0.1417, allocations: 89.22 kB / 303.7 MB, free: 14.71 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1417, allocations: 0 / 303.7 MB, free: 14.71 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001647/0.1419, allocations: 13.67 kB / 303.7 MB, free: 14.71 MB / 282.7 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.0003588/0.1423, allocations: 0.7608 MB / 304.5 MB, free: 14.03 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002235/0.1425, allocations: 82.22 kB / 304.5 MB, free: 14.02 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1425, allocations: 0 / 304.5 MB, free: 14.02 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.1e-05/0.1426, allocations: 50.3 kB / 304.6 MB, free: 14.01 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.1428, allocations: 11.17 kB / 304.6 MB, free: 14 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003892/0.1432, allocations: 188.1 kB / 304.8 MB, free: 13.84 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.424e-05/0.1433, allocations: 74.38 kB / 304.8 MB, free: 13.76 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.565e-05/0.1433, allocations: 7.641 kB / 304.9 MB, free: 13.76 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.696e-05/0.1434, allocations: 22.31 kB / 304.9 MB, free: 13.74 MB / 282.7 MB Notification: Performance of SimCode: time 9.02e-07/0.1434, allocations: 0 / 304.9 MB, free: 13.74 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01722/0.1606, allocations: 2.716 MB / 307.6 MB, free: 12.66 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.756/6.916, allocations: 9.078 kB / 307.6 MB, free: 12.65 MB / 282.7 MB " [Timeout remaining time 653] (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 --stepSize=0.001 --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) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.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: 8.459594041109085]