Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001543/0.001543, allocations: 109.2 kB / 20.43 MB, free: 1.473 MB / 14.72 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.001846/0.001846, allocations: 213.4 kB / 23.74 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.648/1.648, allocations: 230.6 MB / 257.5 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_4_1_0_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002668/0.002668, allocations: 47.92 kB / 377.7 MB, free: 3.203 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3554, allocations: 53.36 MB / 431.1 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003291/0.3587, allocations: 1.541 MB / 432.6 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.3598, allocations: 0.5298 MB / 433.2 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.784e-05/0.3599, allocations: 8 kB / 433.2 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000158/0.3601, allocations: 19.86 kB / 433.2 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.304e-05/0.3602, allocations: 15.86 kB / 433.2 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.3604, allocations: 39.86 kB / 433.3 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.3605, allocations: 51.84 kB / 433.3 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.3606, allocations: 11.98 kB / 433.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002436/0.3609, allocations: 39.84 kB / 433.4 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.484e-05/0.361, allocations: 31.84 kB / 433.4 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.471e-05/0.361, allocations: 8 kB / 433.4 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.302e-05/0.3611, allocations: 16 kB / 433.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.818e-05/0.3611, allocations: 15.98 kB / 433.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.445e-05/0.3611, allocations: 23.86 kB / 433.5 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.3614, allocations: 76.08 kB / 433.5 MB, free: 4.496 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3614, allocations: 0 / 433.5 MB, free: 4.496 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3614, allocations: 0 / 433.5 MB, free: 4.496 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.3614, allocations: 0 / 433.5 MB, free: 4.496 MB / 334.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.0007894/0.3622, allocations: 314.1 kB / 433.8 MB, free: 4.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.3622, allocations: 16.03 kB / 433.9 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.399e-05/0.3623, allocations: 30.75 kB / 433.9 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.616e-05/0.3623, allocations: 8.891 kB / 433.9 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.3625, allocations: 114.5 kB / 434 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.3625, allocations: 384 / 434 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.3625, allocations: 8.312 kB / 434 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003054/0.3628, allocations: 89.77 kB / 434.1 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.3628, allocations: 0 / 434.1 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.3629, allocations: 8 kB / 434.1 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.3629, allocations: 7.984 kB / 434.1 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003227/0.3632, allocations: 79.86 kB / 434.2 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005702/0.3638, allocations: 271.8 kB / 434.5 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002877/0.364, allocations: 74.53 kB / 434.5 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.3642, allocations: 52.97 kB / 434.6 MB, free: 3.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.3642, allocations: 0 / 434.6 MB, free: 3.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.3643, allocations: 34.56 kB / 434.6 MB, free: 3.277 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.3643, allocations: 0 / 434.6 MB, free: 3.277 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005966/0.3649, allocations: 149.5 kB / 434.8 MB, free: 3.125 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/0.3649, allocations: 59.34 kB / 434.8 MB, free: 3.055 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.365, allocations: 109.8 kB / 434.9 MB, free: 2.938 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.3651, allocations: 25.7 kB / 435 MB, free: 2.906 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.385e-05/0.3651, allocations: 96.09 kB / 435 MB, free: 2.809 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.3652, allocations: 19.89 kB / 435.1 MB, free: 2.789 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.097e-05/0.3652, allocations: 13.72 kB / 435.1 MB, free: 2.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.3654, allocations: 322.7 kB / 435.4 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.3656, allocations: 35.95 kB / 435.4 MB, free: 2.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.3657, allocations: 35.97 kB / 435.5 MB, free: 2.375 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002832/0.366, allocations: 80.78 kB / 435.5 MB, free: 2.293 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.366, allocations: 0 / 435.5 MB, free: 2.293 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003577/0.3664, allocations: 117.6 kB / 435.7 MB, free: 2.172 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.3664, allocations: 8 kB / 435.7 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3664, allocations: 0 / 435.7 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.3664, allocations: 4 kB / 435.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.3666, allocations: 19.92 kB / 435.7 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.3666, allocations: 0 / 435.7 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.05e-05/0.3667, allocations: 19.92 kB / 435.7 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.3667, allocations: 8.359 kB / 435.7 MB, free: 2.113 MB / 334.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.0001148/0.3668, allocations: 109.8 kB / 435.8 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.191e-05/0.3668, allocations: 8 kB / 435.8 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004267/0.3673, allocations: 125.7 kB / 436 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.3673, allocations: 3.938 kB / 436 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.3673, allocations: 7.984 kB / 436 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.3673, allocations: 4 kB / 436 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002745/0.3676, allocations: 160.6 kB / 436.1 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.3676, allocations: 4 kB / 436.1 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.3677, allocations: 23.92 kB / 436.2 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.3677, allocations: 0 / 436.2 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.3677, allocations: 7.984 kB / 436.2 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3677, allocations: 0 / 436.2 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3677, allocations: 0 / 436.2 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004521/0.3682, allocations: 223.8 kB / 436.4 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.747e-05/0.3682, allocations: 7.953 kB / 436.4 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.3682, allocations: 3.984 kB / 436.4 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.3683, allocations: 11.98 kB / 436.4 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.953e-05/0.3684, allocations: 11.92 kB / 436.4 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.3684, allocations: 4 kB / 436.4 MB, free: 1.332 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.969e-05/0.3684, allocations: 91.22 kB / 436.5 MB, free: 1.242 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3684, allocations: 7.938 kB / 436.5 MB, free: 1.234 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002486/0.3687, allocations: 8 kB / 436.5 MB, free: 1.227 MB / 334.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.0008828/0.3696, allocations: 0.7514 MB / 437.3 MB, free: 460 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003992/0.37, allocations: 83.86 kB / 437.4 MB, free: 376 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.37, allocations: 0 / 437.4 MB, free: 376 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.3701, allocations: 47.95 kB / 437.4 MB, free: 328 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.3705, allocations: 11.94 kB / 437.4 MB, free: 316 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006615/0.3712, allocations: 196.2 kB / 437.6 MB, free: 80 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004373/0.3716, allocations: 0.6846 MB / 438.3 MB, free: 15.37 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.943e-05/0.3716, allocations: 4 kB / 438.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.965e-05/0.3717, allocations: 19.42 kB / 438.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3717, allocations: 7.938 kB / 438.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03592/0.4076, allocations: 2.162 MB / 440.5 MB, free: 13.31 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.28, allocations: 2.406 kB / 440.5 MB, free: 13.31 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_ComplexBlocks_Examples_TestConversionBlock_fmu --startTime=0 --stopTime=1.01 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_ComplexBlocks_Examples_TestConversionBlock.fmu > Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 14.943751320941374]