Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.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/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/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: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001405/0.001405, allocations: 181.3 kB / 17.46 MB, free: 4.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.242/1.242, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.0007395/0.0007395, allocations: 91.91 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06532/0.06532, allocations: 12.2 MB / 332.4 MB, free: 11.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004085/0.0004088, allocations: 19.98 kB / 392.7 MB, free: 67.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09115/0.09158, allocations: 50.29 MB / 443 MB, free: 16.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2842/0.3758, allocations: 81.87 MB / 0.5126 GB, free: 12.39 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/0.3761, allocations: 81.64 kB / 0.5127 GB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01526/0.3913, allocations: 6.826 MB / 0.5193 GB, free: 9.535 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3914, allocations: 0 / 0.5193 GB, free: 9.535 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.809e-05/0.3914, allocations: 4.188 kB / 0.5193 GB, free: 9.531 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005291/0.3919, allocations: 0.5019 MB / 0.5198 GB, free: 8.988 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.392, allocations: 8.031 kB / 0.5198 GB, free: 8.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.45e-05/0.392, allocations: 20.75 kB / 0.5198 GB, free: 8.961 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003271/0.3924, allocations: 270 kB / 0.5201 GB, free: 8.684 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.3924, allocations: 11.67 kB / 0.5201 GB, free: 8.676 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.3924, allocations: 8.375 kB / 0.5201 GB, free: 8.668 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002727/0.3927, allocations: 151.4 kB / 0.5203 GB, free: 8.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.3927, allocations: 4.188 kB / 0.5203 GB, free: 8.516 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.3928, allocations: 7.812 kB / 0.5203 GB, free: 8.512 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.3928, allocations: 4 kB / 0.5203 GB, free: 8.508 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.362e-05/0.3929, allocations: 35.8 kB / 0.5203 GB, free: 8.48 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/0.3932, allocations: 365.6 kB / 0.5207 GB, free: 8.113 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.3934, allocations: 111.5 kB / 0.5208 GB, free: 7.996 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.493e-05/0.3935, allocations: 48.25 kB / 0.5208 GB, free: 7.949 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.3935, allocations: 0 / 0.5208 GB, free: 7.949 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001087/0.3936, allocations: 77 kB / 0.5209 GB, free: 7.871 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.3936, allocations: 4 kB / 0.5209 GB, free: 7.867 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002865/0.3939, allocations: 148.4 kB / 0.521 GB, free: 7.746 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.394, allocations: 132.5 kB / 0.5212 GB, free: 7.586 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.3942, allocations: 264.9 kB / 0.5214 GB, free: 7.363 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.3942, allocations: 29.7 kB / 0.5214 GB, free: 7.328 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.53e-05/0.3943, allocations: 117.8 kB / 0.5216 GB, free: 7.234 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.3943, allocations: 15.38 kB / 0.5216 GB, free: 7.223 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.3943, allocations: 0 / 0.5216 GB, free: 7.223 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.466e-05/0.3944, allocations: 333 kB / 0.5219 GB, free: 6.895 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.307e-05/0.3944, allocations: 25.62 kB / 0.5219 GB, free: 6.879 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.286e-05/0.3945, allocations: 69.55 kB / 0.522 GB, free: 6.797 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.3946, allocations: 82.16 kB / 0.5221 GB, free: 6.723 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.3946, allocations: 0 / 0.5221 GB, free: 6.723 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001921/0.3948, allocations: 115.2 kB / 0.5222 GB, free: 6.621 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.3948, allocations: 8 kB / 0.5222 GB, free: 6.613 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3948, allocations: 3.984 kB / 0.5222 GB, free: 6.609 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.3949, allocations: 7.938 kB / 0.5222 GB, free: 6.602 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.553e-05/0.3949, allocations: 15.56 kB / 0.5222 GB, free: 6.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.3949, allocations: 3.984 kB / 0.5222 GB, free: 6.586 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.267e-05/0.395, allocations: 15.84 kB / 0.5222 GB, free: 6.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.395, allocations: 4 kB / 0.5222 GB, free: 6.566 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,sample.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,superSample.y,superSample.u,sample.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.289e-05/0.3951, allocations: 149.9 kB / 0.5224 GB, free: 6.422 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.177e-05/0.3952, allocations: 64.75 kB / 0.5224 GB, free: 6.359 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001913/0.3954, allocations: 113 kB / 0.5225 GB, free: 6.262 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.3954, allocations: 4 kB / 0.5225 GB, free: 6.258 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3954, allocations: 4 kB / 0.5225 GB, free: 6.254 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3954, allocations: 0 / 0.5225 GB, free: 6.254 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.3955, allocations: 234.1 kB / 0.5228 GB, free: 6.004 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3955, allocations: 8 kB / 0.5228 GB, free: 5.996 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.931e-05/0.3956, allocations: 4 kB / 0.5228 GB, free: 5.992 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3956, allocations: 0 / 0.5228 GB, free: 5.992 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.3956, allocations: 7.984 kB / 0.5228 GB, free: 5.984 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.3956, allocations: 0 / 0.5228 GB, free: 5.984 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3956, allocations: 0 / 0.5228 GB, free: 5.984 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.3958, allocations: 170 kB / 0.523 GB, free: 5.82 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.537e-05/0.3959, allocations: 111.8 kB / 0.5231 GB, free: 5.699 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.3959, allocations: 0 / 0.5231 GB, free: 5.699 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.903e-05/0.396, allocations: 11.3 kB / 0.5231 GB, free: 5.691 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.396, allocations: 4 kB / 0.5231 GB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-06/0.396, allocations: 7.938 kB / 0.5231 GB, free: 5.68 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001403/0.3962, allocations: 197.1 kB / 0.5233 GB, free: 5.52 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3962, allocations: 0 / 0.5233 GB, free: 5.52 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000231/0.3964, allocations: 39.11 kB / 0.5233 GB, free: 5.484 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sample.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample.y,sample.y,superSample.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007348/0.3972, allocations: 432.8 kB / 0.5237 GB, free: 5.07 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001848/0.3974, allocations: 68.97 kB / 0.5238 GB, free: 5.02 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3974, allocations: 0 / 0.5238 GB, free: 5.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.428e-05/0.3974, allocations: 30.98 kB / 0.5238 GB, free: 4.996 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.3978, allocations: 63.95 kB / 0.5239 GB, free: 4.945 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004293/0.3982, allocations: 380.2 kB / 0.5242 GB, free: 4.562 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000139/0.3984, allocations: 0.7316 MB / 0.525 GB, free: 3.809 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.082e-05/0.3984, allocations: 15.44 kB / 0.525 GB, free: 3.793 MB / 330.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3984, allocations: 0 / 0.525 GB, free: 3.793 MB / 330.7 MB Notification: Performance of Templates: time 0.004081/0.4025, allocations: 2.611 MB / 0.5275 GB, free: 1.199 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches