Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",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.0008992/0.0008991, allocations: 97.67 kB / 16.3 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008893/0.0008893, allocations: 183.2 kB / 17.2 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 223.2 MB / 241.1 MB, free: 14.66 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002986/0.0002987, allocations: 4 kB / 300.8 MB, free: 6.125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1361, allocations: 50.41 MB / 351.2 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.001751/0.1379, allocations: 1.3 MB / 352.5 MB, free: 2.395 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006904/0.1386, allocations: 459.2 kB / 353 MB, free: 1.941 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.164e-05/0.1387, allocations: 7.938 kB / 353 MB, free: 1.934 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.528e-05/0.1388, allocations: 7.984 kB / 353 MB, free: 1.926 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.547e-05/0.1389, allocations: 15.92 kB / 353 MB, free: 1.91 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.1391, allocations: 39.89 kB / 353.1 MB, free: 1.871 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.954e-05/0.1392, allocations: 35.89 kB / 353.1 MB, free: 1.836 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.958e-05/0.1393, allocations: 19.97 kB / 353.1 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.964e-05/0.1394, allocations: 19.92 kB / 353.1 MB, free: 1.797 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.001e-05/0.1395, allocations: 23.86 kB / 353.1 MB, free: 1.773 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.1395, allocations: 8 kB / 353.2 MB, free: 1.766 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.252e-05/0.1395, allocations: 0 / 353.2 MB, free: 1.766 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.738e-05/0.1396, allocations: 19.91 kB / 353.2 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.962e-05/0.1396, allocations: 37.64 kB / 353.2 MB, free: 1.703 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.362e-05/0.1397, allocations: 39.92 kB / 353.3 MB, free: 1.664 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.1397, allocations: 0 / 353.3 MB, free: 1.664 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1397, allocations: 0 / 353.3 MB, free: 1.664 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.1397, allocations: 0 / 353.3 MB, free: 1.664 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004828/0.1402, allocations: 387.2 kB / 353.6 MB, free: 1.238 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.1402, allocations: 8.031 kB / 353.6 MB, free: 1.23 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.898e-05/0.1403, allocations: 38.55 kB / 353.7 MB, free: 1.184 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.187e-05/0.1403, allocations: 15.75 kB / 353.7 MB, free: 1.168 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.1405, allocations: 197.7 kB / 353.9 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-06/0.1405, allocations: 3.984 kB / 353.9 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.1406, allocations: 8 kB / 353.9 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000297/0.1409, allocations: 121.9 kB / 354 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.1409, allocations: 0 / 354 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.1409, allocations: 7.938 kB / 354 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.166e-05/0.1409, allocations: 11.94 kB / 354 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.1411, allocations: 51.91 kB / 354.1 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004578/0.1416, allocations: 373.9 kB / 354.5 MB, free: 300 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.1417, allocations: 91.77 kB / 354.5 MB, free: 180 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.1417, allocations: 0 / 354.5 MB, free: 180 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.1418, allocations: 38.52 kB / 354.6 MB, free: 132 kB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1418, allocations: 0 / 354.6 MB, free: 132 kB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004271/0.1422, allocations: 210.9 kB / 354.8 MB, free: 15.9 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.1423, allocations: 106.8 kB / 354.9 MB, free: 15.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.1424, allocations: 146.2 kB / 355 MB, free: 15.62 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.1424, allocations: 25.7 kB / 355.1 MB, free: 15.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.835e-05/0.1425, allocations: 104 kB / 355.2 MB, free: 15.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.654e-05/0.1425, allocations: 7.906 kB / 355.2 MB, free: 15.47 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-06/0.1425, allocations: 0 / 355.2 MB, free: 15.47 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1426, allocations: 322.8 kB / 355.5 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.1e-05/0.1427, allocations: 20.02 kB / 355.5 MB, free: 15.13 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.5e-05/0.1428, allocations: 43.42 kB / 355.5 MB, free: 15.07 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.174e-05/0.1429, allocations: 31.92 kB / 355.6 MB, free: 15.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1429, allocations: 0 / 355.6 MB, free: 15.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002069/0.1431, allocations: 97.78 kB / 355.7 MB, free: 14.94 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.1431, allocations: 7.953 kB / 355.7 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1431, allocations: 0 / 355.7 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1431, allocations: 7.984 kB / 355.7 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.1433, allocations: 11.98 kB / 355.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.1433, allocations: 3.938 kB / 355.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.922e-05/0.1433, allocations: 19.89 kB / 355.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.1433, allocations: 0 / 355.7 MB, free: 14.89 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.299e-05/0.1434, allocations: 126.7 kB / 355.8 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.107e-05/0.1435, allocations: 49.59 kB / 355.9 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.038e-05/0.1436, allocations: 15.83 kB / 355.9 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/0.1436, allocations: 7.984 kB / 355.9 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1436, allocations: 0 / 355.9 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1436, allocations: 0 / 355.9 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.1438, allocations: 181.6 kB / 356.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.1438, allocations: 4 kB / 356.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.132e-05/0.1439, allocations: 8 kB / 356.1 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1439, allocations: 4.031 kB / 356.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.1439, allocations: 3.984 kB / 356.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.1439, allocations: 7.953 kB / 356.1 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.144, allocations: 3.938 kB / 356.1 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.1442, allocations: 295 kB / 356.4 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.182e-05/0.1443, allocations: 96.95 kB / 356.5 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.1443, allocations: 3.938 kB / 356.5 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.1445, allocations: 11.98 kB / 356.5 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.1445, allocations: 4 kB / 356.5 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.1445, allocations: 4 kB / 356.5 MB, free: 13.96 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.055e-05/0.1446, allocations: 118.9 kB / 356.6 MB, free: 13.85 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1446, allocations: 0 / 356.6 MB, free: 13.85 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002691/0.1449, allocations: 7.984 kB / 356.7 MB, free: 13.84 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * Algorithm blocks: 0 * 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.0005503/0.1454, allocations: 0.9744 MB / 357.6 MB, free: 12.83 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000191/0.1456, allocations: 63.89 kB / 357.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1456, allocations: 0 / 357.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.461e-05/0.1457, allocations: 23.98 kB / 357.7 MB, free: 12.74 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.1461, allocations: 31.64 kB / 357.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.1473, allocations: 1.065 MB / 358.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.1475, allocations: 0.7004 MB / 359.5 MB, free: 10.85 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.114e-05/0.1476, allocations: 7.984 kB / 359.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.762e-05/0.1476, allocations: 23.5 kB / 359.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1477, allocations: 4 kB / 359.5 MB, free: 10.81 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01078/0.1584, allocations: 1.591 MB / 361.1 MB, free: 9.395 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001747/0.1586, allocations: 216 kB / 361.3 MB, free: 9.152 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.866/2.025, allocations: 0 / 361.3 MB, free: 9.152 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat does not exist to compare? outputFormat=mat