Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.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.Utilities.TestInternal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestInternal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal",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.000786/0.0007859, 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.0008435/0.0008436, 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.359/1.359, allocations: 205.4 MB / 222.8 MB, free: 5.652 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.3913/0.3913, allocations: 43.55 MB / 314.6 MB, free: 8.984 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.0005245/0.0005247, allocations: 12 kB / 384 MB, free: 8.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1359, allocations: 58.85 MB / 442.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.0006464/0.1366, allocations: 216.4 kB / 443.1 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005719/0.1372, allocations: 242.8 kB / 443.3 MB, free: 12.74 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.799e-05/0.1373, allocations: 0 / 443.3 MB, free: 12.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.25e-05/0.1373, allocations: 0 / 443.3 MB, free: 12.74 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.614e-06/0.1373, allocations: 0 / 443.3 MB, free: 12.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.1376, allocations: 39.89 kB / 443.4 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.762e-05/0.1377, allocations: 3.984 kB / 443.4 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.617e-05/0.1377, allocations: 4 kB / 443.4 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.52e-05/0.1377, allocations: 4 kB / 443.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.736e-05/0.1378, allocations: 0 / 443.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.436e-06/0.1378, allocations: 0 / 443.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.1379, allocations: 59.95 kB / 443.4 MB, free: 12.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.751e-06/0.138, allocations: 0 / 443.4 MB, free: 12.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.429e-05/0.138, allocations: 25.7 kB / 443.5 MB, free: 12.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.1381, allocations: 27.95 kB / 443.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1381, allocations: 0 / 443.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.1381, allocations: 3.984 kB / 443.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.1381, allocations: 0 / 443.5 MB, free: 12.57 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003724/0.1385, allocations: 361.1 kB / 443.8 MB, free: 12.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.1386, allocations: 16.02 kB / 443.9 MB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.43e-05/0.1386, allocations: 30.56 kB / 443.9 MB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.9e-05/0.1387, allocations: 7.859 kB / 443.9 MB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.023e-05/0.1388, allocations: 159.1 kB / 444 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.1388, allocations: 0 / 444 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.1388, allocations: 0 / 444 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.586e-05/0.1389, allocations: 33.64 kB / 444.1 MB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.1389, allocations: 0 / 444.1 MB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.1389, allocations: 0 / 444.1 MB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-06/0.1389, allocations: 7.938 kB / 444.1 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.899e-05/0.139, allocations: 4 kB / 444.1 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/0.1391, allocations: 153.6 kB / 444.2 MB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.65e-05/0.1392, allocations: 14.58 kB / 444.3 MB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.461e-05/0.1392, allocations: 8.953 kB / 444.3 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.956e-06/0.1392, allocations: 3.938 kB / 444.3 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.552e-05/0.1392, allocations: 56.27 kB / 444.3 MB, free: 11.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.1393, allocations: 4 kB / 444.3 MB, free: 11.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001813/0.1394, allocations: 71.38 kB / 444.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.621e-05/0.1395, allocations: 77.11 kB / 444.5 MB, free: 11.37 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.072e-05/0.1396, allocations: 89.86 kB / 444.6 MB, free: 11.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.1396, allocations: 25.7 kB / 444.6 MB, free: 11.24 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.86e-05/0.1396, allocations: 80.14 kB / 444.7 MB, free: 11.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.1397, allocations: 4 kB / 444.7 MB, free: 11.15 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.954e-06/0.1397, allocations: 0 / 444.7 MB, free: 11.15 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1398, allocations: 318.9 kB / 445 MB, free: 10.83 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.144e-06/0.1398, allocations: 0 / 445 MB, free: 10.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.749e-06/0.1398, allocations: 7.922 kB / 445 MB, free: 10.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.988e-05/0.1399, allocations: 33.7 kB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1399, allocations: 0 / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.924e-05/0.14, allocations: 59.41 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.006e-05/0.14, allocations: 29.7 kB / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.14, allocations: 3.984 kB / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.14, allocations: 0 / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.312e-06/0.14, allocations: 8.031 kB / 445.1 MB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.14, allocations: 3.984 kB / 445.1 MB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.852e-05/0.1401, allocations: 4.281 kB / 445.1 MB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.1401, allocations: 0 / 445.1 MB, free: 10.66 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: 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 8.166e-05/0.1402, allocations: 139.5 kB / 445.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.488e-06/0.1402, allocations: 4 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.338e-05/0.1402, allocations: 7.125 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.1402, allocations: 0 / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1402, allocations: 0 / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1402, allocations: 4 kB / 445.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.1404, allocations: 153.6 kB / 445.4 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.1404, allocations: 4 kB / 445.4 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.963e-06/0.1404, allocations: 0 / 445.4 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1404, allocations: 3.938 kB / 445.4 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.1404, allocations: 4 kB / 445.4 MB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1404, allocations: 0 / 445.4 MB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1404, allocations: 0 / 445.4 MB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001195/0.1405, allocations: 98.78 kB / 445.5 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.333e-05/0.1406, allocations: 81.05 kB / 445.6 MB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.1406, allocations: 0 / 445.6 MB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.288e-05/0.1406, allocations: 7.984 kB / 445.6 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.473e-05/0.1406, allocations: 0 / 445.6 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.1406, allocations: 0 / 445.6 MB, free: 10.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.82e-05/0.1407, allocations: 75.28 kB / 445.7 MB, free: 9.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1407, allocations: 0 / 445.7 MB, free: 9.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002328/0.1409, allocations: 27.98 kB / 445.7 MB, free: 9.953 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: 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.0007638/0.1417, allocations: 0.7863 MB / 446.5 MB, free: 9.156 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.93e-05/0.1418, allocations: 67.41 kB / 446.6 MB, free: 9.078 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1418, allocations: 0 / 446.6 MB, free: 9.078 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.839e-05/0.1418, allocations: 51.41 kB / 446.6 MB, free: 9.016 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/0.142, allocations: 7.984 kB / 446.6 MB, free: 9.008 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002955/0.1423, allocations: 112.4 kB / 446.7 MB, free: 8.855 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.1426, allocations: 0.6731 MB / 447.4 MB, free: 8.156 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.222e-06/0.1426, allocations: 0 / 447.4 MB, free: 8.156 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.428e-05/0.1426, allocations: 11.44 kB / 447.4 MB, free: 8.145 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1426, allocations: 4.125 kB / 447.4 MB, free: 8.141 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01345/0.1561, allocations: 1.382 MB / 448.8 MB, free: 6.781 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002385/0.1564, allocations: 224 kB / 449 MB, free: 6.531 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.812/1.969, allocations: 0 / 449 MB, free: 6.531 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.mat does not exist to compare? outputFormat=mat