Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_3_2_3_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.001291/0.001291, allocations: 95.73 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002644/0.002644, allocations: 173 kB / 16.57 MB, free: 6.379 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.714/1.714, allocations: 205.4 MB / 222.7 MB, free: 5.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3638/0.3638, allocations: 43.55 MB / 314.5 MB, free: 8.758 MB / 254.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.0004742/0.0004743, allocations: 16 kB / 384 MB, free: 7.953 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1081, allocations: 58.85 MB / 442.8 MB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002164/0.1103, allocations: 1.738 MB / 444.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001703/0.1121, allocations: 1.151 MB / 445.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.375e-05/0.1122, allocations: 4 kB / 445.7 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.116e-05/0.1122, allocations: 11.86 kB / 445.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.394e-05/0.1123, allocations: 31.88 kB / 445.8 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003607/0.1127, allocations: 159.5 kB / 445.9 MB, free: 9.883 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000126/0.1128, allocations: 112.4 kB / 446 MB, free: 9.773 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.113, allocations: 77.55 kB / 446.1 MB, free: 9.703 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.534e-05/0.1131, allocations: 59.7 kB / 446.2 MB, free: 9.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.376e-05/0.1132, allocations: 59.64 kB / 446.2 MB, free: 9.586 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.1132, allocations: 8 kB / 446.2 MB, free: 9.578 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002333/0.1134, allocations: 123.9 kB / 446.4 MB, free: 9.457 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.199e-05/0.1135, allocations: 31.84 kB / 446.4 MB, free: 9.426 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.743e-05/0.1135, allocations: 49.64 kB / 446.4 MB, free: 9.371 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.1138, allocations: 211.7 kB / 446.6 MB, free: 9.164 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1138, allocations: 0 / 446.6 MB, free: 9.164 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1138, allocations: 0 / 446.6 MB, free: 9.164 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1138, allocations: 0 / 446.6 MB, free: 9.164 MB / 382.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.0005133/0.1143, allocations: 499 kB / 447.1 MB, free: 8.629 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.1144, allocations: 8.031 kB / 447.1 MB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001007/0.1145, allocations: 86.92 kB / 447.2 MB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007613/0.1152, allocations: 83.53 kB / 447.3 MB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.1154, allocations: 186.8 kB / 447.5 MB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.1154, allocations: 20.66 kB / 447.5 MB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/0.1155, allocations: 36 kB / 447.5 MB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003555/0.1158, allocations: 222.1 kB / 447.8 MB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.1158, allocations: 4 kB / 447.8 MB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.1159, allocations: 16 kB / 447.8 MB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.1159, allocations: 8 kB / 447.8 MB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002791/0.1162, allocations: 166.5 kB / 447.9 MB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008652/0.117, allocations: 0.6517 MB / 448.6 MB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004715/0.1175, allocations: 235.3 kB / 448.8 MB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.1175, allocations: 8.188 kB / 448.8 MB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.1176, allocations: 30.8 kB / 448.9 MB, free: 6.766 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.202e-06/0.1176, allocations: 3.938 kB / 448.9 MB, free: 6.762 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004115/0.118, allocations: 222.9 kB / 449.1 MB, free: 6.539 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.1181, allocations: 51.41 kB / 449.1 MB, free: 6.477 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.635e-05/0.1181, allocations: 101.9 kB / 449.2 MB, free: 6.367 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.1182, allocations: 29.64 kB / 449.3 MB, free: 6.332 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.033e-05/0.1182, allocations: 160.2 kB / 449.4 MB, free: 6.172 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.791e-05/0.1183, allocations: 82.66 kB / 449.5 MB, free: 6.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.498e-06/0.1183, allocations: 12 kB / 449.5 MB, free: 6.078 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.1184, allocations: 318.8 kB / 449.8 MB, free: 5.758 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.957e-05/0.1185, allocations: 51.91 kB / 449.9 MB, free: 5.707 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.88e-05/0.1186, allocations: 44.91 kB / 449.9 MB, free: 5.664 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.436e-05/0.1187, allocations: 52.45 kB / 450 MB, free: 5.613 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.1187, allocations: 3.984 kB / 450 MB, free: 5.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002476/0.119, allocations: 169.5 kB / 450.1 MB, free: 5.438 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.119, allocations: 7.953 kB / 450.2 MB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.119, allocations: 0 / 450.2 MB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.119, allocations: 0 / 450.2 MB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/0.1194, allocations: 103.9 kB / 450.3 MB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1194, allocations: 4 kB / 450.3 MB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.192e-05/0.1195, allocations: 19.83 kB / 450.3 MB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.1195, allocations: 4 kB / 450.3 MB, free: 5.301 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.309e-05/0.1196, allocations: 133.8 kB / 450.4 MB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.1196, allocations: 7.906 kB / 450.4 MB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.966e-05/0.1197, allocations: 29.08 kB / 450.4 MB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/0.1197, allocations: 0 / 450.4 MB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.1197, allocations: 4 kB / 450.5 MB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.1197, allocations: 11.97 kB / 450.5 MB, free: 5.102 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002675/0.12, allocations: 281.4 kB / 450.7 MB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.12, allocations: 256 / 450.7 MB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003226/0.1203, allocations: 103.9 kB / 450.8 MB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1203, allocations: 3.938 kB / 450.8 MB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.1203, allocations: 8 kB / 450.9 MB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1204, allocations: 7.953 kB / 450.9 MB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1204, allocations: 0 / 450.9 MB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002918/0.1207, allocations: 271.3 kB / 451.1 MB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.657e-05/0.1207, allocations: 85.02 kB / 451.2 MB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.1207, allocations: 4 kB / 451.2 MB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.363e-05/0.1208, allocations: 8 kB / 451.2 MB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/0.1209, allocations: 27.91 kB / 451.2 MB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.1209, allocations: 4 kB / 451.2 MB, free: 4.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.182e-05/0.1209, allocations: 87.22 kB / 451.3 MB, free: 4.145 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1209, allocations: 0 / 451.3 MB, free: 4.145 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.1212, allocations: 63.62 kB / 451.4 MB, free: 4.082 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000647/0.1218, allocations: 0.8729 MB / 452.3 MB, free: 3.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000239/0.1221, allocations: 135.9 kB / 452.4 MB, free: 3.047 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1221, allocations: 0 / 452.4 MB, free: 3.047 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.1222, allocations: 79.84 kB / 452.5 MB, free: 2.969 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.1224, allocations: 11.95 kB / 452.5 MB, free: 2.957 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.1237, allocations: 1.12 MB / 453.6 MB, free: 1.789 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.124, allocations: 0.748 MB / 454.4 MB, free: 1.016 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.998e-05/0.1241, allocations: 13.42 kB / 454.4 MB, free: 1.004 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.014e-05/0.1241, allocations: 63.41 kB / 454.4 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1242, allocations: 0 / 454.4 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3817/0.5058, allocations: 2.342 MB / 456.8 MB, free: 44.43 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000133/0.506, allocations: 166.2 kB / 456.9 MB, free: 44.19 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.818/2.324, allocations: 3.094 kB / 456.9 MB, free: 44.19 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks_res.mat does not exist to compare? outputFormat=mat