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.001502/0.001503, allocations: 109.4 kB / 17.73 MB, free: 5.324 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.001487/0.001487, allocations: 188.2 kB / 18.66 MB, free: 4.395 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.419/1.419, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001327/0.001327, allocations: 47.94 kB / 328 MB, free: 3.852 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1053, allocations: 46.62 MB / 374.6 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003365/0.1087, allocations: 1.5 MB / 376.1 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.1098, allocations: 0.5429 MB / 376.7 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.541e-05/0.1099, allocations: 0 / 376.7 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001328/0.11, allocations: 19.86 kB / 376.7 MB, free: 3.035 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.959e-05/0.1101, allocations: 7.875 kB / 376.7 MB, free: 3.027 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000184/0.1103, allocations: 47.84 kB / 376.7 MB, free: 2.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.1104, allocations: 55.89 kB / 376.8 MB, free: 2.926 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.1106, allocations: 15.98 kB / 376.8 MB, free: 2.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.1107, allocations: 27.86 kB / 376.8 MB, free: 2.883 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.618e-05/0.1108, allocations: 31.84 kB / 376.9 MB, free: 2.852 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.1108, allocations: 4 kB / 376.9 MB, free: 2.848 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.756e-05/0.1109, allocations: 24 kB / 376.9 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.096e-05/0.1109, allocations: 19.91 kB / 376.9 MB, free: 2.805 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.709e-05/0.111, allocations: 19.88 kB / 376.9 MB, free: 2.785 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.1112, allocations: 75.72 kB / 377 MB, free: 2.711 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.1112, allocations: 0 / 377 MB, free: 2.711 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1112, allocations: 0 / 377 MB, free: 2.711 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.1112, allocations: 0 / 377 MB, free: 2.711 MB / 318.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.0007281/0.1119, allocations: 387.5 kB / 377.4 MB, free: 2.285 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.112, allocations: 8.031 kB / 377.4 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.227e-05/0.112, allocations: 42.73 kB / 377.4 MB, free: 2.227 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.244e-05/0.1121, allocations: 0.9375 kB / 377.4 MB, free: 2.227 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.1122, allocations: 172.3 kB / 377.6 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.1122, allocations: 4.375 kB / 377.6 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.1123, allocations: 4.375 kB / 377.6 MB, free: 2.012 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.1126, allocations: 93.64 kB / 377.7 MB, free: 1.914 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1126, allocations: 0 / 377.7 MB, free: 1.914 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.1126, allocations: 7.984 kB / 377.7 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.1126, allocations: 0 / 377.7 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003375/0.1129, allocations: 83.91 kB / 377.8 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004713/0.1134, allocations: 312.6 kB / 378.1 MB, free: 1.469 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.1137, allocations: 70.53 kB / 378.2 MB, free: 1.391 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.1139, allocations: 48.94 kB / 378.2 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.1139, allocations: 0 / 378.2 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.114, allocations: 34.56 kB / 378.2 MB, free: 1.297 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.114, allocations: 0 / 378.2 MB, free: 1.297 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006136/0.1146, allocations: 149.6 kB / 378.4 MB, free: 1.145 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.1147, allocations: 55.41 kB / 378.4 MB, free: 1.078 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.1148, allocations: 105.8 kB / 378.5 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.888e-05/0.1148, allocations: 29.7 kB / 378.6 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.234e-05/0.1149, allocations: 92.05 kB / 378.7 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.239e-05/0.115, allocations: 23.72 kB / 378.7 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.212e-05/0.115, allocations: 17.72 kB / 378.7 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1151, allocations: 322.8 kB / 379 MB, free: 476 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.1153, allocations: 35.95 kB / 379 MB, free: 440 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.1155, allocations: 39.95 kB / 379.1 MB, free: 400 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002954/0.1158, allocations: 84.67 kB / 379.2 MB, free: 312 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.1158, allocations: 0 / 379.2 MB, free: 312 kB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003535/0.1162, allocations: 117.9 kB / 379.3 MB, free: 188 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1162, allocations: 4 kB / 379.3 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.1162, allocations: 0 / 379.3 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.1162, allocations: 4 kB / 379.3 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.1164, allocations: 24.05 kB / 379.3 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.1164, allocations: 0 / 379.3 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.22e-05/0.1165, allocations: 16.34 kB / 379.3 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.1165, allocations: 3.938 kB / 379.3 MB, free: 136 kB / 318.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.852e-05/0.1166, allocations: 117.8 kB / 379.5 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.833e-05/0.1166, allocations: 3.906 kB / 379.5 MB, free: 4 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2217/0.3383, allocations: 134 kB / 379.6 MB, free: 12.99 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.3384, allocations: 0.6562 kB / 379.6 MB, free: 12.99 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.3384, allocations: 2.5 kB / 379.6 MB, free: 12.99 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.3384, allocations: 0.7031 kB / 379.6 MB, free: 12.99 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.3387, allocations: 181.8 kB / 379.8 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.3387, allocations: 3.75 kB / 379.8 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.3388, allocations: 29.69 kB / 379.8 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/0.3389, allocations: 2.078 kB / 379.8 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.3389, allocations: 0 / 379.8 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.3389, allocations: 1.375 kB / 379.8 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3389, allocations: 0.7969 kB / 379.8 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004141/0.3393, allocations: 222.1 kB / 380 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.813e-05/0.3394, allocations: 83.22 kB / 380.1 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.3394, allocations: 2.344 kB / 380.1 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.3395, allocations: 13.41 kB / 380.1 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.181e-05/0.3396, allocations: 6.312 kB / 380.1 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.3396, allocations: 1.906 kB / 380.1 MB, free: 12.58 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.786e-05/0.3396, allocations: 90.88 kB / 380.2 MB, free: 12.5 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3396, allocations: 0 / 380.2 MB, free: 12.5 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002506/0.3399, allocations: 19.25 kB / 380.2 MB, free: 12.5 MB / 318.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.0007143/0.3406, allocations: 0.7501 MB / 381 MB, free: 11.85 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004423/0.3411, allocations: 90.14 kB / 381.1 MB, free: 11.85 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.3411, allocations: 1.375 kB / 381.1 MB, free: 11.85 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001954/0.3413, allocations: 50.64 kB / 381.1 MB, free: 11.85 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004177/0.3417, allocations: 8.219 kB / 381.1 MB, free: 11.85 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005287/0.3422, allocations: 199.3 kB / 381.3 MB, free: 11.69 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001426/0.3424, allocations: 0.6905 MB / 382 MB, free: 11 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.52e-05/0.3424, allocations: 5.984 kB / 382 MB, free: 11 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.501e-05/0.3425, allocations: 17.84 kB / 382 MB, free: 10.99 MB / 318.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3425, allocations: 3.5 kB / 382 MB, free: 10.99 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02112/0.3636, allocations: 2.065 MB / 384.1 MB, free: 10.47 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.936/8.299, allocations: 5.422 kB / 384.1 MB, free: 10.47 MB / 318.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