Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002805/0.002804, allocations: 180.6 kB / 15.8 MB, free: 6.34 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.132/2.132, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001151/0.001151, allocations: 86.88 kB / 270.3 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09706/0.09706, allocations: 12.59 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005679/0.0005679, allocations: 16.91 kB / 392.1 MB, free: 54.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0941/0.0947, allocations: 50.37 MB / 442.5 MB, free: 10.86 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1445/0.2393, allocations: 77.76 MB / 0.508 GB, free: 12.99 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/0.2397, allocations: 79.95 kB / 0.5081 GB, free: 12.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004244/0.2439, allocations: 1.109 MB / 0.5092 GB, free: 11.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.244, allocations: 4 kB / 0.5092 GB, free: 11.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.473e-05/0.244, allocations: 4 kB / 0.5092 GB, free: 11.79 MB / 362.7 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.0004895/0.2445, allocations: 363.6 kB / 0.5095 GB, free: 11.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.2446, allocations: 8.031 kB / 0.5096 GB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.476e-05/0.2446, allocations: 34.56 kB / 0.5096 GB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.362e-05/0.2447, allocations: 7.906 kB / 0.5096 GB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.2449, allocations: 187.2 kB / 0.5098 GB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.245, allocations: 7.953 kB / 0.5098 GB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.245, allocations: 4 kB / 0.5098 GB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003511/0.2454, allocations: 113 kB / 0.5099 GB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.2454, allocations: 0 / 0.5099 GB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.2454, allocations: 0 / 0.5099 GB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.2454, allocations: 0 / 0.5099 GB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.2456, allocations: 31.92 kB / 0.5099 GB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004231/0.246, allocations: 269.7 kB / 0.5102 GB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002768/0.2463, allocations: 138.2 kB / 0.5103 GB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.2463, allocations: 4.062 kB / 0.5103 GB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.2464, allocations: 38.56 kB / 0.5104 GB, free: 10.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.764e-06/0.2464, allocations: 0 / 0.5104 GB, free: 10.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003607/0.2468, allocations: 85.61 kB / 0.5104 GB, free: 10.31 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.055e-05/0.2468, allocations: 85.09 kB / 0.5105 GB, free: 10.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.247, allocations: 117.2 kB / 0.5106 GB, free: 10.08 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.247, allocations: 33.64 kB / 0.5107 GB, free: 10.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.313e-05/0.2471, allocations: 92.11 kB / 0.5107 GB, free: 9.949 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.563e-05/0.2471, allocations: 7.938 kB / 0.5108 GB, free: 9.941 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/0.2471, allocations: 0 / 0.5108 GB, free: 9.941 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.2473, allocations: 315 kB / 0.5111 GB, free: 9.625 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.664e-05/0.2474, allocations: 15.98 kB / 0.5111 GB, free: 9.609 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.213e-05/0.2475, allocations: 35.36 kB / 0.5111 GB, free: 9.562 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.24e-05/0.2476, allocations: 23.95 kB / 0.5111 GB, free: 9.539 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2476, allocations: 0 / 0.5111 GB, free: 9.539 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002061/0.2478, allocations: 69.8 kB / 0.5112 GB, free: 9.465 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.2478, allocations: 4 kB / 0.5112 GB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.2479, allocations: 4 kB / 0.5112 GB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.2479, allocations: 128 / 0.5112 GB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.248, allocations: 12 kB / 0.5112 GB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.248, allocations: 7.938 kB / 0.5112 GB, free: 9.438 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.173e-05/0.2481, allocations: 0 / 0.5112 GB, free: 9.438 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.2481, allocations: 11.97 kB / 0.5112 GB, free: 9.426 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample.u,sample.y,assignClock.y,assignClock.u) * 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 0.0001148/0.2482, allocations: 121.6 kB / 0.5113 GB, free: 9.297 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.2484, allocations: 49.59 kB / 0.5114 GB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.782e-05/0.2484, allocations: 12.25 kB / 0.5114 GB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.2484, allocations: 0 / 0.5114 GB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2484, allocations: 4 kB / 0.5114 GB, free: 9.219 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.2485, allocations: 4 kB / 0.5114 GB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002193/0.2487, allocations: 165.7 kB / 0.5116 GB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.2487, allocations: 3.953 kB / 0.5116 GB, free: 9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.313e-05/0.2488, allocations: 15.92 kB / 0.5116 GB, free: 8.984 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.2488, allocations: 0 / 0.5116 GB, free: 8.984 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.2488, allocations: 0 / 0.5116 GB, free: 8.984 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.481e-06/0.2489, allocations: 4 kB / 0.5116 GB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.2489, allocations: 0 / 0.5116 GB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/0.2491, allocations: 189.9 kB / 0.5118 GB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.203e-05/0.2492, allocations: 85.09 kB / 0.5119 GB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.2493, allocations: 4 kB / 0.5119 GB, free: 8.664 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.641e-05/0.2494, allocations: 4 kB / 0.5119 GB, free: 8.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.249e-05/0.2494, allocations: 8 kB / 0.5119 GB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.2494, allocations: 0 / 0.5119 GB, free: 8.652 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001031/0.2495, allocations: 103.2 kB / 0.512 GB, free: 8.551 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.2496, allocations: 0 / 0.512 GB, free: 8.551 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002907/0.2499, allocations: 8 kB / 0.512 GB, free: 8.543 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (sample.u,assignClock.u,assignClock.y,sample.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0006083/0.2505, allocations: 0.785 MB / 0.5127 GB, free: 7.727 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001963/0.2507, allocations: 35.86 kB / 0.5128 GB, free: 7.691 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2507, allocations: 0 / 0.5128 GB, free: 7.691 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.32e-05/0.2508, allocations: 16.23 kB / 0.5128 GB, free: 7.676 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.2511, allocations: 19.78 kB / 0.5128 GB, free: 7.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.2524, allocations: 0.9196 MB / 0.5137 GB, free: 6.672 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.2528, allocations: 0.6887 MB / 0.5144 GB, free: 5.957 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.044e-05/0.2529, allocations: 0 / 0.5144 GB, free: 5.957 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.359e-05/0.2529, allocations: 15.44 kB / 0.5144 GB, free: 5.945 MB / 362.7 MB Notification: Performance of SimCode: time 1.463e-06/0.2529, allocations: 0 / 0.5144 GB, free: 5.945 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01986/0.2728, allocations: 1.231 MB / 0.5156 GB, free: 4.723 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000396/0.2733, allocations: 209.4 kB / 0.5158 GB, free: 4.473 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.318/2.591, allocations: 0 / 0.5158 GB, free: 4.473 MB / 362.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_Sample1.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1_res.mat does not exist to compare? outputFormat=mat