Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.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.Utilities.TestStrings,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Utilities_TestStrings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestStrings,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Utilities_TestStrings",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.001313/0.001313, allocations: 95.77 kB / 16.99 MB, free: 5.941 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.001333/0.001333, allocations: 182.1 kB / 17.87 MB, free: 5.609 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.351/1.351, allocations: 223.2 MB / 241.8 MB, free: 380 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.2137/0.2137, allocations: 44.23 MB / 337.1 MB, free: 2.902 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002805/0.0002805, allocations: 12 kB / 409.6 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1151, allocations: 61.92 MB / 471.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.0005782/0.1158, allocations: 203 kB / 471.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002177/0.118, allocations: 1.233 MB / 473 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.595e-05/0.118, allocations: 0 / 473 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.162e-05/0.118, allocations: 0 / 473 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.819e-06/0.118, allocations: 0 / 473 MB, free: 12.24 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Utilities.mo:4:3-220:14:writable] Warning: Pure function ‘ModelicaTest.Utilities.Strings‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.1191, allocations: 446.9 kB / 473.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 2.986e-05/0.1191, allocations: 0 / 473.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.541e-05/0.1192, allocations: 0 / 473.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.826e-05/0.1192, allocations: 3.984 kB / 473.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.027e-05/0.1192, allocations: 0 / 473.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.68e-06/0.1192, allocations: 0 / 473.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009807/0.1202, allocations: 0.6477 MB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.851e-06/0.1203, allocations: 7.938 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.538e-05/0.1203, allocations: 25.7 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004535/0.1207, allocations: 359.4 kB / 474.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.1208, allocations: 0 / 474.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1208, allocations: 0 / 474.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.1208, allocations: 0 / 474.4 MB, free: 10.76 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000483/0.1213, allocations: 465 kB / 474.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.1213, allocations: 8.031 kB / 474.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.07e-05/0.1213, allocations: 30.56 kB / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.306e-05/0.1214, allocations: 8 kB / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.1215, allocations: 163.1 kB / 475.1 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.1215, allocations: 0 / 475.1 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.1215, allocations: 3.953 kB / 475.1 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.55e-05/0.1216, allocations: 37.69 kB / 475.1 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.23e-06/0.1216, allocations: 0 / 475.1 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.1216, allocations: 0 / 475.1 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.1216, allocations: 3.984 kB / 475.1 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.023e-05/0.1217, allocations: 7.875 kB / 475.1 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001305/0.1218, allocations: 149.7 kB / 475.3 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.129e-05/0.1218, allocations: 18.56 kB / 475.3 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.39e-06/0.1219, allocations: 0 / 475.3 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.347e-05/0.1219, allocations: 64.22 kB / 475.4 MB, free: 9.637 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1219, allocations: 4.094 kB / 475.4 MB, free: 9.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001479/0.1221, allocations: 59.34 kB / 475.4 MB, free: 9.562 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/0.1221, allocations: 81.11 kB / 475.5 MB, free: 9.465 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.502e-05/0.1222, allocations: 97.97 kB / 475.6 MB, free: 9.359 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.1222, allocations: 25.7 kB / 475.6 MB, free: 9.328 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.176e-05/0.1222, allocations: 80.14 kB / 475.7 MB, free: 9.246 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.1222, allocations: 4 kB / 475.7 MB, free: 9.242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.773e-06/0.1223, allocations: 0 / 475.7 MB, free: 9.242 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.1224, allocations: 310.8 kB / 476 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.448e-06/0.1224, allocations: 7.938 kB / 476 MB, free: 8.922 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.258e-06/0.1224, allocations: 0 / 476 MB, free: 8.922 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.558e-05/0.1224, allocations: 29.77 kB / 476.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1224, allocations: 0 / 476.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.082e-05/0.1225, allocations: 67.33 kB / 476.1 MB, free: 8.809 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.1226, allocations: 29.7 kB / 476.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1226, allocations: 4 kB / 476.2 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.1226, allocations: 3.953 kB / 476.2 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.1226, allocations: 0 / 476.2 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.1226, allocations: 0 / 476.2 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.37e-05/0.1226, allocations: 0 / 476.2 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.1226, allocations: 0 / 476.2 MB, free: 8.766 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 7.77e-05/0.1227, allocations: 144.1 kB / 476.3 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.342e-06/0.1227, allocations: 0 / 476.3 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.898e-05/0.1227, allocations: 11.06 kB / 476.3 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1227, allocations: 3.953 kB / 476.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1228, allocations: 4 kB / 476.3 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.1228, allocations: 0 / 476.3 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.875e-05/0.1228, allocations: 145.7 kB / 476.5 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.1229, allocations: 0 / 476.5 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.62e-07/0.1229, allocations: 0 / 476.5 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.1229, allocations: 4 kB / 476.5 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.1229, allocations: 0 / 476.5 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.1229, allocations: 7.984 kB / 476.5 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.1229, allocations: 3.953 kB / 476.5 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.803e-05/0.123, allocations: 86.78 kB / 476.6 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.025e-05/0.123, allocations: 81.3 kB / 476.6 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.123, allocations: 7.984 kB / 476.6 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.917e-06/0.1231, allocations: 3.938 kB / 476.7 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.184e-05/0.1231, allocations: 4.031 kB / 476.7 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.1231, allocations: 3.953 kB / 476.7 MB, free: 8.156 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.152e-05/0.1231, allocations: 79.28 kB / 476.7 MB, free: 8.078 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1231, allocations: 0 / 476.7 MB, free: 8.078 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004628/0.1236, allocations: 203.9 kB / 476.9 MB, free: 7.879 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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.001359/0.125, allocations: 1.147 MB / 478.1 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.392e-05/0.1251, allocations: 67.34 kB / 478.1 MB, free: 6.707 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1251, allocations: 0 / 478.1 MB, free: 6.707 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.004e-05/0.1251, allocations: 51.41 kB / 478.2 MB, free: 6.645 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.689e-05/0.1252, allocations: 7.938 kB / 478.2 MB, free: 6.637 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003715/0.1256, allocations: 196.3 kB / 478.4 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.1258, allocations: 0.677 MB / 479.1 MB, free: 5.699 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.27e-06/0.1258, allocations: 0 / 479.1 MB, free: 5.699 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.34e-05/0.1258, allocations: 11.56 kB / 479.1 MB, free: 5.688 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1258, allocations: 4 kB / 479.1 MB, free: 5.684 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01618/0.142, allocations: 5.104 MB / 484.2 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002748/0.1423, allocations: 215 kB / 484.4 MB, free: 448 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.952/2.094, allocations: 0 / 484.4 MB, free: 448 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Utilities_TestStrings_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Utilities_TestStrings.fmu > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings_res.mat does not exist to compare? outputFormat=mat