Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_4_0_0_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.0008819/0.000882, allocations: 93.95 kB / 17.35 MB, free: 6.367 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.001017/0.001017, allocations: 174.7 kB / 18.25 MB, free: 5.52 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.196/1.196, allocations: 223.3 MB / 242.3 MB, free: 256 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1635/0.1635, allocations: 44.26 MB / 337.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002661/0.0002661, allocations: 12.86 kB / 410.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09215/0.09243, allocations: 61.93 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002022/0.09448, allocations: 1.783 MB / 474.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001741/0.09624, allocations: 1.305 MB / 475.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.637e-05/0.09631, allocations: 8 kB / 475.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.935e-05/0.09635, allocations: 11.86 kB / 475.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.09645, allocations: 27.78 kB / 475.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003327/0.09679, allocations: 143.6 kB / 475.6 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.09696, allocations: 168.1 kB / 475.8 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.09714, allocations: 95.59 kB / 475.9 MB, free: 9.691 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.774e-05/0.09724, allocations: 59.66 kB / 476 MB, free: 9.633 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.593e-05/0.09734, allocations: 67.58 kB / 476 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.09736, allocations: 4 kB / 476 MB, free: 9.562 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002245/0.09759, allocations: 135.9 kB / 476.2 MB, free: 9.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.618e-05/0.09763, allocations: 31.8 kB / 476.2 MB, free: 9.398 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.611e-05/0.09772, allocations: 105.2 kB / 476.3 MB, free: 9.289 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003203/0.09805, allocations: 291.2 kB / 476.6 MB, free: 9.004 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.09806, allocations: 0 / 476.6 MB, free: 9.004 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.09806, allocations: 0 / 476.6 MB, free: 9.004 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.09807, allocations: 0 / 476.6 MB, free: 9.004 MB / 350.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.0004978/0.09857, allocations: 491.3 kB / 477.1 MB, free: 8.477 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.09863, allocations: 11.97 kB / 477.1 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.041e-05/0.09872, allocations: 91.06 kB / 477.2 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007483/0.09948, allocations: 76.61 kB / 477.2 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.09962, allocations: 192 kB / 477.4 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.09965, allocations: 25.03 kB / 477.4 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.276e-05/0.09969, allocations: 28.38 kB / 477.5 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003682/0.1001, allocations: 238.2 kB / 477.7 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.1001, allocations: 3.938 kB / 477.7 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.1001, allocations: 8 kB / 477.7 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.1001, allocations: 12 kB / 477.7 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002734/0.1004, allocations: 170.5 kB / 477.9 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008224/0.1012, allocations: 0.6516 MB / 478.5 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004735/0.1017, allocations: 231.4 kB / 478.8 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.1019, allocations: 69.3 kB / 478.8 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.1019, allocations: 4.234 kB / 478.8 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.1019, allocations: 34.8 kB / 478.9 MB, free: 6.531 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.282e-06/0.1019, allocations: 4 kB / 478.9 MB, free: 6.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004141/0.1023, allocations: 223.1 kB / 479.1 MB, free: 6.305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.1024, allocations: 63.33 kB / 479.2 MB, free: 6.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.294e-05/0.1025, allocations: 97.86 kB / 479.3 MB, free: 6.125 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.1025, allocations: 29.7 kB / 479.3 MB, free: 6.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.187e-05/0.1025, allocations: 152.3 kB / 479.4 MB, free: 5.938 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.674e-05/0.1026, allocations: 94.66 kB / 479.5 MB, free: 5.844 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.148e-05/0.1027, allocations: 17.72 kB / 479.5 MB, free: 5.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.1028, allocations: 326.8 kB / 479.9 MB, free: 5.492 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.109e-05/0.1029, allocations: 47.95 kB / 479.9 MB, free: 5.445 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.385e-05/0.103, allocations: 47.97 kB / 480 MB, free: 5.398 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.1032, allocations: 122.2 kB / 480.1 MB, free: 5.277 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1032, allocations: 3.938 kB / 480.1 MB, free: 5.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002611/0.1034, allocations: 173.4 kB / 480.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.1035, allocations: 8 kB / 480.3 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.1035, allocations: 0 / 480.3 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.1035, allocations: 0 / 480.3 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003481/0.1038, allocations: 107.8 kB / 480.4 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.1039, allocations: 4 kB / 480.4 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.476e-05/0.1039, allocations: 15.84 kB / 480.4 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.1039, allocations: 4 kB / 480.4 MB, free: 4.961 MB / 350.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 9.201e-05/0.104, allocations: 125.8 kB / 480.5 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.1041, allocations: 11.89 kB / 480.5 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.99e-05/0.1041, allocations: 21.12 kB / 480.5 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.1042, allocations: 11.94 kB / 480.5 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1042, allocations: 3.938 kB / 480.6 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1042, allocations: 3.938 kB / 480.6 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.1044, allocations: 289.4 kB / 480.8 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.1045, allocations: 4 kB / 480.8 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003137/0.1048, allocations: 91.95 kB / 480.9 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1048, allocations: 4 kB / 480.9 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.1048, allocations: 7.984 kB / 480.9 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.1048, allocations: 8.188 kB / 481 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1048, allocations: 4 kB / 481 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002986/0.1051, allocations: 271.3 kB / 481.2 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.1052, allocations: 92.91 kB / 481.3 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.1052, allocations: 12 kB / 481.3 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.598e-05/0.1053, allocations: 7.938 kB / 481.3 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.1053, allocations: 15.97 kB / 481.3 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.1053, allocations: 11.98 kB / 481.4 MB, free: 3.895 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.383e-05/0.1054, allocations: 79.28 kB / 481.4 MB, free: 3.816 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1054, allocations: 4 kB / 481.4 MB, free: 3.812 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002434/0.1057, allocations: 55.69 kB / 481.5 MB, free: 3.758 MB / 350.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.0006404/0.1063, allocations: 0.8773 MB / 482.4 MB, free: 2.855 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002337/0.1065, allocations: 131.9 kB / 482.5 MB, free: 2.727 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1066, allocations: 4 kB / 482.5 MB, free: 2.723 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.1067, allocations: 83.84 kB / 482.6 MB, free: 2.641 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.1069, allocations: 15.92 kB / 482.6 MB, free: 2.625 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.1088, allocations: 2.137 MB / 484.7 MB, free: 412 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.1092, allocations: 0.7476 MB / 485.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.963e-05/0.1093, allocations: 13.42 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.1094, allocations: 67.41 kB / 485.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1094, allocations: 0 / 485.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01145/0.1208, allocations: 2.421 MB / 488 MB, free: 13.23 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002162/0.1211, allocations: 192.3 kB / 488.2 MB, free: 12.97 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2/2.121, allocations: 0 / 488.2 MB, free: 12.97 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches