Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.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.TestFiles,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestFiles,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles",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.001115/0.001115, 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.001732/0.001733, allocations: 174 kB / 16.58 MB, free: 6.84 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.4 MB / 222.7 MB, free: 5.664 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.3503/0.3503, allocations: 43.55 MB / 314.6 MB, free: 8.766 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.0005307/0.0005308, allocations: 12 kB / 384 MB, free: 7.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1373, allocations: 58.85 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.0006915/0.1381, allocations: 228.4 kB / 443.1 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001965/0.14, allocations: 1.194 MB / 444.3 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.286e-05/0.1401, allocations: 0 / 444.3 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.155e-05/0.1401, allocations: 0 / 444.3 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001615/0.1403, allocations: 3.984 kB / 444.3 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006303/0.1409, allocations: 191.6 kB / 444.5 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.915e-05/0.141, allocations: 15.92 kB / 444.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.241e-05/0.141, allocations: 0 / 444.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.947e-05/0.141, allocations: 0 / 444.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.494e-05/0.1411, allocations: 8 kB / 444.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.1412, allocations: 3.984 kB / 444.5 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008127/0.142, allocations: 0.4957 MB / 445 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.396e-06/0.142, allocations: 0 / 445 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.9e-05/0.142, allocations: 25.7 kB / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.1422, allocations: 123.7 kB / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.678e-06/0.1423, allocations: 4 kB / 445.2 MB, free: 10.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.075e-06/0.1423, allocations: 4 kB / 445.2 MB, free: 10.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.1423, allocations: 0 / 445.2 MB, free: 10.68 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.0004388/0.1427, allocations: 377 kB / 445.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.1428, allocations: 8.031 kB / 445.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.217e-05/0.1428, allocations: 34.56 kB / 445.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.274e-05/0.1429, allocations: 3.953 kB / 445.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.143, allocations: 163.1 kB / 445.7 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.143, allocations: 4 kB / 445.7 MB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-06/0.143, allocations: 0 / 445.7 MB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.1431, allocations: 37.64 kB / 445.8 MB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.1432, allocations: 0 / 445.8 MB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.1432, allocations: 0 / 445.8 MB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.1432, allocations: 0 / 445.8 MB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.554e-05/0.1432, allocations: 3.938 kB / 445.8 MB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001548/0.1434, allocations: 161.6 kB / 445.9 MB, free: 9.742 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.451e-05/0.1434, allocations: 18.58 kB / 445.9 MB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.05e-05/0.1435, allocations: 8.922 kB / 446 MB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.544e-06/0.1435, allocations: 4 kB / 446 MB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.96e-05/0.1435, allocations: 60.2 kB / 446 MB, free: 9.625 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.1435, allocations: 0 / 446 MB, free: 9.625 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001844/0.1437, allocations: 63.39 kB / 446.1 MB, free: 9.551 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.1438, allocations: 81.11 kB / 446.2 MB, free: 9.453 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.675e-05/0.1439, allocations: 97.84 kB / 446.3 MB, free: 9.348 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.1439, allocations: 25.95 kB / 446.3 MB, free: 9.316 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.172e-05/0.1439, allocations: 84.14 kB / 446.4 MB, free: 9.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.499e-05/0.144, allocations: 4 kB / 446.4 MB, free: 9.227 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-06/0.144, allocations: 0 / 446.4 MB, free: 9.227 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1441, allocations: 318.8 kB / 446.7 MB, free: 8.906 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.398e-06/0.1441, allocations: 0 / 446.7 MB, free: 8.906 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.983e-06/0.1441, allocations: 4 kB / 446.7 MB, free: 8.902 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.173e-05/0.1442, allocations: 29.64 kB / 446.7 MB, free: 8.867 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1442, allocations: 0 / 446.7 MB, free: 8.867 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.569e-05/0.1443, allocations: 67.45 kB / 446.8 MB, free: 8.789 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/0.1443, allocations: 29.7 kB / 446.8 MB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1443, allocations: 4 kB / 446.8 MB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.1443, allocations: 3.984 kB / 446.8 MB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.011e-06/0.1444, allocations: 0 / 446.8 MB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1444, allocations: 0 / 446.8 MB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.979e-05/0.1444, allocations: 3.906 kB / 446.8 MB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.1444, allocations: 0 / 446.8 MB, free: 8.742 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 0.0001163/0.1445, allocations: 147.5 kB / 447 MB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.736e-06/0.1445, allocations: 8.016 kB / 447 MB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.127e-05/0.1446, allocations: 3.125 kB / 447 MB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.1446, allocations: 0 / 447 MB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1446, allocations: 4 kB / 447 MB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1446, allocations: 0 / 447 MB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.1447, allocations: 145.6 kB / 447.1 MB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1447, allocations: 3.984 kB / 447.1 MB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-06/0.1447, allocations: 4 kB / 447.1 MB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1447, allocations: 7.938 kB / 447.1 MB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.1447, allocations: 0 / 447.1 MB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.716e-06/0.1447, allocations: 7.938 kB / 447.1 MB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1447, allocations: 0 / 447.1 MB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.1449, allocations: 94.78 kB / 447.2 MB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.678e-05/0.1449, allocations: 77.11 kB / 447.3 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.1449, allocations: 0 / 447.3 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.18e-05/0.145, allocations: 7.938 kB / 447.3 MB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.358e-05/0.145, allocations: 0 / 447.3 MB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-06/0.145, allocations: 0 / 447.3 MB, free: 8.133 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.309e-05/0.145, allocations: 87.31 kB / 447.4 MB, free: 8.047 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.145, allocations: 0 / 447.4 MB, free: 8.047 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002792/0.1453, allocations: 59.98 kB / 447.5 MB, free: 7.988 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.0009581/0.1463, allocations: 0.8504 MB / 448.3 MB, free: 7.129 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.878e-05/0.1464, allocations: 55.41 kB / 448.4 MB, free: 7.062 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.1464, allocations: 0 / 448.4 MB, free: 7.062 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.817e-05/0.1465, allocations: 63.33 kB / 448.4 MB, free: 6.988 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/0.1466, allocations: 16 kB / 448.4 MB, free: 6.973 MB / 382.1 MB Warning: Could not resolve URI ("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Resources/Data") at compile-time; copying all loaded packages into the FMU Warning: Could not resolve URI ("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Resources/Data/ReadStreamTestFile.txt") at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003972/0.147, allocations: 132.4 kB / 448.6 MB, free: 6.801 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.1473, allocations: 0.677 MB / 449.3 MB, free: 6.098 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.191e-05/0.1473, allocations: 3.938 kB / 449.3 MB, free: 6.094 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.295e-05/0.1474, allocations: 7.438 kB / 449.3 MB, free: 6.09 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1474, allocations: 0 / 449.3 MB, free: 6.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07376/0.2211, allocations: 2.288 MB / 451.5 MB, free: 3.82 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/0.2214, allocations: 209.5 kB / 451.8 MB, free: 3.578 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.839/2.06, allocations: 4 kB / 451.8 MB, free: 3.574 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_res.mat does not exist to compare? outputFormat=mat