Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.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.Math.TestScalarFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestScalarFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestScalarFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestScalarFunctions",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.001267/0.001266, allocations: 97.14 kB / 15.69 MB, free: 480 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.001736/0.001736, allocations: 170.6 kB / 16.57 MB, free: 6.391 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.769/1.769, allocations: 205.4 MB / 222.7 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.3811/0.3811, allocations: 43.55 MB / 314.5 MB, free: 9.039 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.0005781/0.0005782, allocations: 16 kB / 384 MB, free: 8.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1352, allocations: 58.85 MB / 442.8 MB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestScalarFunctions): time 0.0006064/0.1359, allocations: 236.4 kB / 443.1 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001729/0.1376, allocations: 1.351 MB / 444.4 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.006e-05/0.1377, allocations: 0 / 444.4 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.889e-06/0.1377, allocations: 0 / 444.4 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.029e-06/0.1377, allocations: 0 / 444.4 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004217/0.1381, allocations: 99.52 kB / 444.5 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 2.915e-05/0.1382, allocations: 0 / 444.5 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.128e-05/0.1382, allocations: 0 / 444.5 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.489e-05/0.1382, allocations: 4 kB / 444.5 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.521e-05/0.1383, allocations: 0 / 444.5 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.534e-06/0.1383, allocations: 0 / 444.5 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.1384, allocations: 31.97 kB / 444.6 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.442e-06/0.1385, allocations: 0 / 444.6 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.944e-05/0.1385, allocations: 33.7 kB / 444.6 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.698e-05/0.1386, allocations: 23.95 kB / 444.6 MB, free: 11.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1386, allocations: 0 / 444.6 MB, free: 11.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1386, allocations: 0 / 444.6 MB, free: 11.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.147e-06/0.1386, allocations: 0 / 444.6 MB, free: 11.43 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.0003255/0.1389, allocations: 345.1 kB / 444.9 MB, free: 11.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.139, allocations: 8.031 kB / 445 MB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.515e-05/0.139, allocations: 30.56 kB / 445 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.615e-05/0.1391, allocations: 7.859 kB / 445 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.1392, allocations: 163.1 kB / 445.2 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.1392, allocations: 8 kB / 445.2 MB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.383e-06/0.1392, allocations: 7.875 kB / 445.2 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.934e-05/0.1393, allocations: 25.7 kB / 445.2 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.1393, allocations: 3.984 kB / 445.2 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.1394, allocations: 4 kB / 445.2 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.1394, allocations: 0 / 445.2 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.042e-05/0.1394, allocations: 3.953 kB / 445.2 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001367/0.1395, allocations: 149.7 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.85e-05/0.1396, allocations: 22.61 kB / 445.4 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.618e-06/0.1396, allocations: 3.938 kB / 445.4 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.337e-05/0.1396, allocations: 56.27 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.1396, allocations: 0 / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001656/0.1398, allocations: 63.45 kB / 445.5 MB, free: 10.35 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.1399, allocations: 81.11 kB / 445.6 MB, free: 10.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.89e-05/0.1399, allocations: 89.98 kB / 445.7 MB, free: 10.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.1399, allocations: 33.7 kB / 445.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.5e-05/0.14, allocations: 84.12 kB / 445.8 MB, free: 10.03 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.14, allocations: 0 / 445.8 MB, free: 10.03 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-06/0.14, allocations: 0 / 445.8 MB, free: 10.03 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.1401, allocations: 314.8 kB / 446.1 MB, free: 9.715 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.893e-06/0.1401, allocations: 0 / 446.1 MB, free: 9.715 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.955e-06/0.1401, allocations: 7.938 kB / 446.1 MB, free: 9.707 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.393e-05/0.1402, allocations: 25.7 kB / 446.1 MB, free: 9.676 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1402, allocations: 4.062 kB / 446.1 MB, free: 9.672 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.492e-05/0.1403, allocations: 71.33 kB / 446.2 MB, free: 9.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.339e-05/0.1403, allocations: 29.7 kB / 446.2 MB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1403, allocations: 0 / 446.2 MB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.878e-06/0.1403, allocations: 0 / 446.2 MB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.1403, allocations: 0 / 446.2 MB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.1403, allocations: 4 kB / 446.2 MB, free: 9.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.628e-05/0.1404, allocations: 0 / 446.2 MB, free: 9.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.1404, allocations: 4 kB / 446.2 MB, free: 9.547 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 9.348e-05/0.1405, allocations: 151.5 kB / 446.4 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.592e-06/0.1405, allocations: 0 / 446.4 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.588e-06/0.1405, allocations: 3.125 kB / 446.4 MB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.1405, allocations: 0 / 446.4 MB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.1405, allocations: 0 / 446.4 MB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1405, allocations: 3.938 kB / 446.4 MB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.37e-05/0.1406, allocations: 149.6 kB / 446.5 MB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1406, allocations: 3.984 kB / 446.5 MB, free: 9.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.784e-06/0.1406, allocations: 3.938 kB / 446.5 MB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1407, allocations: 0 / 446.5 MB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.1407, allocations: 4 kB / 446.5 MB, free: 9.168 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.1407, allocations: 0 / 446.5 MB, free: 9.168 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1407, allocations: 0 / 446.5 MB, free: 9.168 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.159e-05/0.1408, allocations: 98.78 kB / 446.6 MB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.155e-05/0.1408, allocations: 77.39 kB / 446.7 MB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.1408, allocations: 0 / 446.7 MB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.797e-06/0.1409, allocations: 4 kB / 446.7 MB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.156e-05/0.1409, allocations: 0 / 446.7 MB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.1409, allocations: 4.031 kB / 446.7 MB, free: 8.945 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.754e-05/0.1409, allocations: 75.28 kB / 446.8 MB, free: 8.871 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1409, allocations: 0 / 446.8 MB, free: 8.871 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002133/0.1411, allocations: 12 kB / 446.8 MB, free: 8.859 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.0005252/0.1417, allocations: 0.6762 MB / 447.5 MB, free: 8.152 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.547e-05/0.1418, allocations: 55.41 kB / 447.5 MB, free: 8.086 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1418, allocations: 0 / 447.5 MB, free: 8.086 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.825e-05/0.1418, allocations: 59.39 kB / 447.6 MB, free: 8.016 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.101e-05/0.1419, allocations: 4 kB / 447.6 MB, free: 8.012 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002708/0.1422, allocations: 116.3 kB / 447.7 MB, free: 7.859 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.1425, allocations: 0.6772 MB / 448.4 MB, free: 7.156 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.721e-06/0.1425, allocations: 4 kB / 448.4 MB, free: 7.152 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.19e-05/0.1425, allocations: 7.438 kB / 448.4 MB, free: 7.148 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1425, allocations: 0 / 448.4 MB, free: 7.148 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01196/0.1545, allocations: 1.188 MB / 449.6 MB, free: 5.988 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000249/0.1548, allocations: 213.7 kB / 449.8 MB, free: 5.746 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.576/1.73, allocations: 0 / 449.8 MB, free: 5.746 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestScalarFunctions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestScalarFunctions.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions_res.mat does not exist to compare? outputFormat=mat