Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.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.Random.TestSpecial,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestSpecial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestSpecial,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestSpecial",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.001036/0.001035, allocations: 95.34 kB / 15.68 MB, free: 488 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.001479/0.001479, allocations: 177.9 kB / 16.57 MB, free: 6.379 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.841/1.841, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.4421/0.4421, allocations: 43.54 MB / 314.5 MB, free: 9.008 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.0006163/0.0006164, allocations: 12 kB / 384 MB, free: 8.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1493, allocations: 58.86 MB / 442.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.0006092/0.1499, allocations: 244.4 kB / 443.1 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002943/0.1529, allocations: 1.928 MB / 445 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.871e-05/0.1529, allocations: 0 / 445 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.558e-06/0.153, allocations: 4 kB / 445 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.478e-06/0.153, allocations: 0 / 445 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.1543, allocations: 387.1 kB / 445.4 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.346e-05/0.1544, allocations: 3.984 kB / 445.4 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.715e-05/0.1544, allocations: 0 / 445.4 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.516e-05/0.1545, allocations: 0 / 445.4 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.04e-05/0.1545, allocations: 4 kB / 445.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.392e-06/0.1545, allocations: 0 / 445.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001075/0.1556, allocations: 0.6358 MB / 446 MB, free: 9.988 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.175e-06/0.1556, allocations: 3.984 kB / 446 MB, free: 9.984 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.284e-05/0.1556, allocations: 25.7 kB / 446.1 MB, free: 9.953 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000493/0.1561, allocations: 243.6 kB / 446.3 MB, free: 9.715 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.1561, allocations: 0 / 446.3 MB, free: 9.715 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1562, allocations: 3.938 kB / 446.3 MB, free: 9.711 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.1562, allocations: 0 / 446.3 MB, free: 9.711 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.0005074/0.1567, allocations: 405 kB / 446.7 MB, free: 9.262 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.1567, allocations: 8.031 kB / 446.7 MB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.646e-05/0.1568, allocations: 34.47 kB / 446.7 MB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.366e-05/0.1568, allocations: 3.953 kB / 446.7 MB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.1569, allocations: 167.1 kB / 446.9 MB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.1569, allocations: 7.938 kB / 446.9 MB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.157, allocations: 0 / 446.9 MB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.73e-05/0.1571, allocations: 33.69 kB / 447 MB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.1571, allocations: 0 / 447 MB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.1571, allocations: 0 / 447 MB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.1571, allocations: 0 / 447 MB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.308e-05/0.1571, allocations: 7.953 kB / 447 MB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003162/0.1574, allocations: 233.3 kB / 447.2 MB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.225e-05/0.1575, allocations: 22.52 kB / 447.2 MB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.167e-06/0.1575, allocations: 0 / 447.2 MB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.645e-05/0.1576, allocations: 56.27 kB / 447.3 MB, free: 8.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.71e-07/0.1576, allocations: 0 / 447.3 MB, free: 8.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002288/0.1578, allocations: 75.41 kB / 447.3 MB, free: 8.484 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.706e-05/0.1579, allocations: 81.23 kB / 447.4 MB, free: 8.387 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.283e-05/0.158, allocations: 93.86 kB / 447.5 MB, free: 8.285 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.158, allocations: 33.64 kB / 447.5 MB, free: 8.246 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.099e-05/0.1581, allocations: 80.14 kB / 447.6 MB, free: 8.164 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.1581, allocations: 7.844 kB / 447.6 MB, free: 8.156 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-06/0.1581, allocations: 0 / 447.6 MB, free: 8.156 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1583, allocations: 314.8 kB / 447.9 MB, free: 7.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.33e-05/0.1583, allocations: 4 kB / 447.9 MB, free: 7.836 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.376e-06/0.1583, allocations: 0 / 447.9 MB, free: 7.836 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.097e-05/0.1583, allocations: 37.77 kB / 448 MB, free: 7.793 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.1583, allocations: 3.938 kB / 448 MB, free: 7.789 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.893e-05/0.1585, allocations: 63.39 kB / 448 MB, free: 7.715 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.046e-05/0.1585, allocations: 33.7 kB / 448.1 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1585, allocations: 0 / 448.1 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.1585, allocations: 0 / 448.1 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.22e-05/0.1586, allocations: 4 kB / 448.1 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.1586, allocations: 3.953 kB / 448.1 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.158e-05/0.1586, allocations: 0 / 448.1 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.1586, allocations: 4.031 kB / 448.1 MB, free: 7.664 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: 2 (result,$outputAlias_result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * 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.0001244/0.1588, allocations: 147.5 kB / 448.2 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.259e-05/0.1588, allocations: 0 / 448.2 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.674e-05/0.1588, allocations: 11.11 kB / 448.2 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1589, allocations: 3.938 kB / 448.2 MB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1589, allocations: 0 / 448.2 MB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.1589, allocations: 3.953 kB / 448.2 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003211/0.1592, allocations: 292.3 kB / 448.5 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1592, allocations: 8.031 kB / 448.5 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.156e-06/0.1592, allocations: 3.984 kB / 448.5 MB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1592, allocations: 0 / 448.5 MB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.1593, allocations: 0 / 448.5 MB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1593, allocations: 0 / 448.5 MB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.1593, allocations: 3.953 kB / 448.6 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000166/0.1594, allocations: 173.2 kB / 448.7 MB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-05/0.1595, allocations: 77.11 kB / 448.8 MB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.1595, allocations: 8.016 kB / 448.8 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.388e-05/0.1596, allocations: 0 / 448.8 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.1596, allocations: 7.953 kB / 448.8 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.1596, allocations: 0 / 448.8 MB, free: 6.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.271e-05/0.1597, allocations: 75.28 kB / 448.9 MB, free: 6.746 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1597, allocations: 0 / 448.9 MB, free: 6.746 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000662/0.1604, allocations: 120 kB / 449 MB, free: 6.629 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: 2 (result,$outputAlias_result) * Number of discrete states: 1 ($outputAlias_result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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.001567/0.1619, allocations: 0.9128 MB / 449.9 MB, free: 5.688 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001553/0.1621, allocations: 63.44 kB / 450 MB, free: 5.613 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1621, allocations: 0 / 450 MB, free: 5.613 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.484e-05/0.1622, allocations: 63.39 kB / 450 MB, free: 5.539 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.1623, allocations: 0 / 450 MB, free: 5.539 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006906/0.163, allocations: 352.6 kB / 450.4 MB, free: 5.148 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.1633, allocations: 0.6771 MB / 451.1 MB, free: 4.445 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.618e-05/0.1634, allocations: 0 / 451.1 MB, free: 4.445 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.601e-05/0.1634, allocations: 11.38 kB / 451.1 MB, free: 4.438 MB / 382.1 MB Notification: Performance of SimCode: time 1.162e-06/0.1634, allocations: 4 kB / 451.1 MB, free: 4.434 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01946/0.1829, allocations: 4.192 MB / 455.3 MB, free: 276 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/0.1831, allocations: 205.3 kB / 455.5 MB, free: 32 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.905/2.088, allocations: 0 / 455.5 MB, free: 32 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestSpecial_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestSpecial.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial_res.mat does not exist to compare? outputFormat=mat