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.001017/0.001017, allocations: 88.19 kB / 15.7 MB, free: 460 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.001097/0.001097, allocations: 173.7 kB / 16.58 MB, free: 6.844 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.428/1.428, allocations: 205.4 MB / 222.8 MB, free: 5.656 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.3414/0.3414, allocations: 43.55 MB / 314.6 MB, free: 9.02 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.0004924/0.0004925, allocations: 15.98 kB / 384 MB, free: 8.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1027, allocations: 58.85 MB / 442.9 MB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.00227/0.105, allocations: 1.741 MB / 444.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.1069, allocations: 1.202 MB / 445.8 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.107, allocations: 4 kB / 445.8 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.244e-05/0.1071, allocations: 11.86 kB / 445.8 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.1072, allocations: 31.78 kB / 445.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004585/0.1077, allocations: 143.6 kB / 446 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.1079, allocations: 168.1 kB / 446.2 MB, free: 9.898 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.1081, allocations: 85.53 kB / 446.2 MB, free: 9.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.1082, allocations: 51.72 kB / 446.3 MB, free: 9.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.398e-05/0.1083, allocations: 59.64 kB / 446.4 MB, free: 9.711 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.1084, allocations: 12 kB / 446.4 MB, free: 9.699 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003136/0.1087, allocations: 127.9 kB / 446.5 MB, free: 9.574 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.692e-05/0.1087, allocations: 31.8 kB / 446.5 MB, free: 9.543 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.25e-05/0.1088, allocations: 49.64 kB / 446.6 MB, free: 9.488 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003169/0.1091, allocations: 219.6 kB / 446.8 MB, free: 9.273 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1091, allocations: 0 / 446.8 MB, free: 9.273 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1091, allocations: 0 / 446.8 MB, free: 9.273 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1091, allocations: 4 kB / 446.8 MB, free: 9.27 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.0005537/0.1097, allocations: 499 kB / 447.3 MB, free: 8.734 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.1097, allocations: 8.031 kB / 447.3 MB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001009/0.1098, allocations: 82.94 kB / 447.4 MB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008174/0.1107, allocations: 83.52 kB / 447.4 MB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.1108, allocations: 186.8 kB / 447.6 MB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.192e-05/0.1109, allocations: 20.66 kB / 447.7 MB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.765e-05/0.1109, allocations: 32 kB / 447.7 MB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003824/0.1113, allocations: 230.1 kB / 447.9 MB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1113, allocations: 0 / 447.9 MB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.106e-05/0.1114, allocations: 16 kB / 447.9 MB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.1114, allocations: 11.98 kB / 447.9 MB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002728/0.1117, allocations: 166.5 kB / 448.1 MB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008634/0.1125, allocations: 0.6517 MB / 448.7 MB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004692/0.113, allocations: 223.4 kB / 449 MB, free: 6.926 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.1131, allocations: 81.19 kB / 449 MB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.1132, allocations: 240 / 449 MB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.1132, allocations: 42.73 kB / 449.1 MB, free: 6.793 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.082e-06/0.1132, allocations: 0 / 449.1 MB, free: 6.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004109/0.1136, allocations: 218.4 kB / 449.3 MB, free: 6.574 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.1137, allocations: 55.41 kB / 449.4 MB, free: 6.508 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.489e-05/0.1138, allocations: 101.8 kB / 449.5 MB, free: 6.398 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.1138, allocations: 33.7 kB / 449.5 MB, free: 6.359 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.565e-05/0.1139, allocations: 152.2 kB / 449.6 MB, free: 6.207 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.696e-05/0.1139, allocations: 94.64 kB / 449.7 MB, free: 6.113 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.387e-06/0.1139, allocations: 4 kB / 449.7 MB, free: 6.109 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.1141, allocations: 322.8 kB / 450 MB, free: 5.785 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.827e-05/0.1141, allocations: 47.91 kB / 450.1 MB, free: 5.738 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.833e-05/0.1142, allocations: 48.92 kB / 450.1 MB, free: 5.691 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.691e-05/0.1143, allocations: 52.44 kB / 450.2 MB, free: 5.641 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1144, allocations: 4 kB / 450.2 MB, free: 5.637 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002618/0.1146, allocations: 169.5 kB / 450.4 MB, free: 5.465 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.1146, allocations: 4 kB / 450.4 MB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1147, allocations: 0 / 450.4 MB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.1147, allocations: 0 / 450.4 MB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003382/0.115, allocations: 107.9 kB / 450.5 MB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.115, allocations: 4 kB / 450.5 MB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.508e-05/0.1151, allocations: 19.78 kB / 450.5 MB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.1151, allocations: 4 kB / 450.5 MB, free: 5.328 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 0.0001073/0.1152, allocations: 137.8 kB / 450.6 MB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/0.1153, allocations: 11.86 kB / 450.6 MB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.263e-05/0.1153, allocations: 25.11 kB / 450.7 MB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1154, allocations: 4 kB / 450.7 MB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1154, allocations: 256 / 450.7 MB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.1154, allocations: 0 / 450.7 MB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002767/0.1157, allocations: 289.4 kB / 451 MB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1157, allocations: 0 / 451 MB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003188/0.116, allocations: 103.9 kB / 451.1 MB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.116, allocations: 0 / 451.1 MB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.116, allocations: 11.95 kB / 451.1 MB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.116, allocations: 0 / 451.1 MB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.116, allocations: 0 / 451.1 MB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003116/0.1163, allocations: 283.2 kB / 451.3 MB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-05/0.1164, allocations: 85.02 kB / 451.4 MB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.1164, allocations: 7.984 kB / 451.4 MB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.398e-05/0.1165, allocations: 7.953 kB / 451.4 MB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.1166, allocations: 15.98 kB / 451.5 MB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.1166, allocations: 4 kB / 451.5 MB, free: 4.262 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.09e-05/0.1166, allocations: 87.27 kB / 451.5 MB, free: 4.176 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1166, allocations: 0 / 451.5 MB, free: 4.176 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.1169, allocations: 59.69 kB / 451.6 MB, free: 4.117 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.0006844/0.1176, allocations: 0.869 MB / 452.5 MB, free: 3.219 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002512/0.1179, allocations: 139.9 kB / 452.6 MB, free: 3.082 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1179, allocations: 0 / 452.6 MB, free: 3.082 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.118, allocations: 79.84 kB / 452.7 MB, free: 3.004 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.1182, allocations: 15.89 kB / 452.7 MB, free: 2.988 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.1196, allocations: 1.124 MB / 453.8 MB, free: 1.816 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.1199, allocations: 0.7441 MB / 454.6 MB, free: 1.047 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001073/0.12, allocations: 13.42 kB / 454.6 MB, free: 1.035 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.247e-05/0.1201, allocations: 63.41 kB / 454.6 MB, free: 0.9727 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1201, allocations: 8 kB / 454.7 MB, free: 0.9648 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2172/0.3374, allocations: 2.363 MB / 457 MB, free: 42.6 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001511/0.3376, allocations: 171.3 kB / 457.2 MB, free: 42.37 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.774/2.112, allocations: 0 / 457.2 MB, free: 42.37 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