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.0007467/0.0007467, allocations: 96.86 kB / 15.7 MB, free: 468 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.0008457/0.0008457, allocations: 173.7 kB / 16.58 MB, free: 5.941 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.658/1.658, 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.3881/0.3881, allocations: 43.55 MB / 314.6 MB, free: 8.777 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.0005357/0.0005358, allocations: 18.97 kB / 384 MB, free: 7.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.125, allocations: 58.85 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestScalarFunctions): time 0.0005609/0.1256, allocations: 224.4 kB / 443.1 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.1272, allocations: 1.366 MB / 444.4 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.948e-05/0.1272, allocations: 0 / 444.4 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.366e-05/0.1272, allocations: 0 / 444.4 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.282e-06/0.1272, allocations: 0 / 444.4 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003971/0.1276, allocations: 95.7 kB / 444.5 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 2.861e-05/0.1277, allocations: 0 / 444.5 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.952e-05/0.1277, allocations: 0 / 444.5 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.659e-05/0.1277, allocations: 7.984 kB / 444.5 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.196e-05/0.1278, allocations: 4 kB / 444.6 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.652e-06/0.1278, allocations: 0 / 444.6 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.1279, allocations: 47.95 kB / 444.6 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.42e-06/0.128, allocations: 0 / 444.6 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.516e-05/0.128, allocations: 25.7 kB / 444.6 MB, free: 11.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.145e-05/0.1281, allocations: 23.97 kB / 444.6 MB, free: 11.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1281, allocations: 3.938 kB / 444.7 MB, free: 11.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1281, allocations: 0 / 444.7 MB, free: 11.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.157e-06/0.1281, allocations: 3.938 kB / 444.7 MB, free: 11.16 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.0002737/0.1284, allocations: 341.1 kB / 445 MB, free: 10.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.1284, allocations: 12.03 kB / 445 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.8e-05/0.1285, allocations: 34.56 kB / 445 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.59e-05/0.1285, allocations: 7.859 kB / 445 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.362e-05/0.1286, allocations: 163.1 kB / 445.2 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.1286, allocations: 0 / 445.2 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.1286, allocations: 0 / 445.2 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.264e-05/0.1287, allocations: 29.7 kB / 445.2 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.1287, allocations: 0 / 445.2 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.1287, allocations: 4 kB / 445.2 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1287, allocations: 4 kB / 445.2 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.016e-05/0.1288, allocations: 3.953 kB / 445.2 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001198/0.1289, allocations: 153.6 kB / 445.4 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.187e-05/0.1289, allocations: 18.56 kB / 445.4 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.585e-05/0.129, allocations: 8.953 kB / 445.4 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.554e-06/0.129, allocations: 0 / 445.4 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.103e-05/0.1291, allocations: 56.27 kB / 445.5 MB, free: 10.15 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.1291, allocations: 4 kB / 445.5 MB, free: 10.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001626/0.1292, allocations: 71.33 kB / 445.5 MB, free: 10.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.1293, allocations: 77.11 kB / 445.6 MB, free: 9.973 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.237e-05/0.1293, allocations: 89.86 kB / 445.7 MB, free: 9.875 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.1293, allocations: 25.7 kB / 445.7 MB, free: 9.844 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.929e-05/0.1294, allocations: 80.14 kB / 445.8 MB, free: 9.762 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.1294, allocations: 4 kB / 445.8 MB, free: 9.758 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-06/0.1294, allocations: 0 / 445.8 MB, free: 9.758 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.332e-05/0.1295, allocations: 318.9 kB / 446.1 MB, free: 9.438 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.846e-06/0.1295, allocations: 4 kB / 446.1 MB, free: 9.434 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.148e-06/0.1295, allocations: 3.938 kB / 446.1 MB, free: 9.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.506e-05/0.1295, allocations: 29.7 kB / 446.2 MB, free: 9.395 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1296, allocations: 3.938 kB / 446.2 MB, free: 9.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.913e-05/0.1296, allocations: 63.39 kB / 446.2 MB, free: 9.316 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.587e-05/0.1297, allocations: 29.7 kB / 446.3 MB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.1297, allocations: 3.938 kB / 446.3 MB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-06/0.1297, allocations: 0 / 446.3 MB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.1297, allocations: 4.094 kB / 446.3 MB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1297, allocations: 0 / 446.3 MB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.581e-05/0.1297, allocations: 4 kB / 446.3 MB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.78e-06/0.1297, allocations: 0 / 446.3 MB, free: 9.27 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 7.211e-05/0.1298, allocations: 148.5 kB / 446.4 MB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.205e-06/0.1298, allocations: 4 kB / 446.4 MB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.718e-06/0.1298, allocations: 3.125 kB / 446.4 MB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.1298, allocations: 0 / 446.4 MB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.1299, allocations: 0 / 446.4 MB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.1299, allocations: 4 kB / 446.4 MB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.011e-05/0.1299, allocations: 145.6 kB / 446.6 MB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.13, allocations: 0 / 446.6 MB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.034e-06/0.13, allocations: 7.984 kB / 446.6 MB, free: 8.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.13, allocations: 0 / 446.6 MB, free: 8.898 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.13, allocations: 0 / 446.6 MB, free: 8.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.13, allocations: 0 / 446.6 MB, free: 8.898 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.13, allocations: 0 / 446.6 MB, free: 8.898 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.594e-05/0.1301, allocations: 102.7 kB / 446.7 MB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.983e-05/0.1301, allocations: 81.38 kB / 446.8 MB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.1301, allocations: 0 / 446.8 MB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.076e-06/0.1301, allocations: 0 / 446.8 MB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.435e-05/0.1302, allocations: 4 kB / 446.8 MB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/0.1302, allocations: 0 / 446.8 MB, free: 8.672 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.562e-05/0.1302, allocations: 79.28 kB / 446.8 MB, free: 8.594 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1302, allocations: 0 / 446.8 MB, free: 8.594 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001955/0.1304, allocations: 12 kB / 446.9 MB, free: 8.582 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.0004901/0.1309, allocations: 0.6799 MB / 447.5 MB, free: 7.871 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.501e-05/0.131, allocations: 63.34 kB / 447.6 MB, free: 7.797 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.131, allocations: 0 / 447.6 MB, free: 7.797 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.999e-05/0.131, allocations: 63.48 kB / 447.7 MB, free: 7.723 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001252/0.1312, allocations: 0 / 447.7 MB, free: 7.723 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002743/0.1315, allocations: 108.4 kB / 447.8 MB, free: 7.578 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.1317, allocations: 0.677 MB / 448.4 MB, free: 6.875 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.209e-05/0.1317, allocations: 3.984 kB / 448.4 MB, free: 6.871 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.898e-06/0.1317, allocations: 7.438 kB / 448.4 MB, free: 6.867 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1317, allocations: 0 / 448.4 MB, free: 6.867 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01038/0.1421, allocations: 1.196 MB / 449.6 MB, free: 5.707 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002065/0.1423, allocations: 219.3 kB / 449.9 MB, free: 5.461 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/1.789, allocations: 4 kB / 449.9 MB, free: 5.457 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