Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_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-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: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_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_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 190.8 kB / 7.847 MB, free: 2.48 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.325/1.325, allocations: 205.2 MB / 213.4 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.0008202/0.0008201, allocations: 95.56 kB / 261.5 MB, free: 13.53 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07115/0.07115, allocations: 12.6 MB / 322 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.224e-06/7.264e-06, allocations: 0 / 378.4 MB, free: 75.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08926/0.08928, allocations: 50.38 MB / 428.8 MB, free: 25.26 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.272/0.3614, allocations: 81.03 MB / 0.4978 GB, free: 11.94 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/0.3616, allocations: 78 kB / 0.4979 GB, free: 11.94 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01584/0.3775, allocations: 5.9 MB / 0.5037 GB, free: 11.08 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.335e-05/0.3776, allocations: 4.016 kB / 0.5037 GB, free: 11.08 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.0006133/0.3782, allocations: 474.7 kB / 0.5041 GB, free: 10.62 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.3782, allocations: 7.688 kB / 0.5041 GB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.09e-05/0.3783, allocations: 23.22 kB / 0.5042 GB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003835/0.3787, allocations: 258.3 kB / 0.5044 GB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.3787, allocations: 7.75 kB / 0.5044 GB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.3788, allocations: 11.77 kB / 0.5044 GB, free: 10.37 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000109/0.3789, allocations: 30.88 kB / 0.5045 GB, free: 10.37 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.3791, allocations: 138.6 kB / 0.5046 GB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.3792, allocations: 3.984 kB / 0.5046 GB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.3792, allocations: 3.844 kB / 0.5046 GB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.3792, allocations: 0 / 0.5046 GB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004211/0.3796, allocations: 339 kB / 0.5049 GB, free: 9.973 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.3797, allocations: 98.56 kB / 0.505 GB, free: 9.895 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.451e-05/0.3798, allocations: 51.25 kB / 0.5051 GB, free: 9.859 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.3798, allocations: 0 / 0.5051 GB, free: 9.859 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.944e-05/0.3799, allocations: 67.88 kB / 0.5051 GB, free: 9.805 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.3799, allocations: 0 / 0.5051 GB, free: 9.805 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002127/0.3802, allocations: 105.1 kB / 0.5052 GB, free: 9.75 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.3802, allocations: 140.3 kB / 0.5054 GB, free: 9.586 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/0.3804, allocations: 225.4 kB / 0.5056 GB, free: 9.473 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.3804, allocations: 25.7 kB / 0.5056 GB, free: 9.441 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.782e-05/0.3805, allocations: 102.2 kB / 0.5057 GB, free: 9.352 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/0.3805, allocations: 23.05 kB / 0.5057 GB, free: 9.336 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-06/0.3805, allocations: 0 / 0.5057 GB, free: 9.336 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.821e-05/0.3806, allocations: 328.9 kB / 0.506 GB, free: 9.016 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.611e-05/0.3806, allocations: 20.25 kB / 0.5061 GB, free: 9.016 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.13e-05/0.3807, allocations: 65.75 kB / 0.5061 GB, free: 8.953 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.507e-05/0.3807, allocations: 24.67 kB / 0.5061 GB, free: 8.949 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3808, allocations: 0 / 0.5061 GB, free: 8.949 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000142/0.3809, allocations: 113.1 kB / 0.5063 GB, free: 8.887 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.3809, allocations: 3.844 kB / 0.5063 GB, free: 8.887 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3809, allocations: 0 / 0.5063 GB, free: 8.887 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.3809, allocations: 3.844 kB / 0.5063 GB, free: 8.887 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.082e-05/0.381, allocations: 13.62 kB / 0.5063 GB, free: 8.887 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.381, allocations: 0 / 0.5063 GB, free: 8.887 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.367e-05/0.3811, allocations: 11.58 kB / 0.5063 GB, free: 8.879 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.3811, allocations: 3.688 kB / 0.5063 GB, free: 8.879 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 () * 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 7.47e-05/0.3812, allocations: 120.1 kB / 0.5064 GB, free: 8.766 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.366e-05/0.3813, allocations: 52.39 kB / 0.5065 GB, free: 8.723 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001704/0.3815, allocations: 101.8 kB / 0.5065 GB, free: 8.668 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.3815, allocations: 3.844 kB / 0.5066 GB, free: 8.668 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3815, allocations: 0 / 0.5066 GB, free: 8.668 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3815, allocations: 0 / 0.5066 GB, free: 8.668 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.3816, allocations: 204.6 kB / 0.5067 GB, free: 8.484 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3817, allocations: 0 / 0.5067 GB, free: 8.484 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.278e-05/0.3817, allocations: 11.72 kB / 0.5068 GB, free: 8.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.3817, allocations: 7.75 kB / 0.5068 GB, free: 8.477 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.3817, allocations: 7.922 kB / 0.5068 GB, free: 8.469 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3817, allocations: 0 / 0.5068 GB, free: 8.469 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.3817, allocations: 3.844 kB / 0.5068 GB, free: 8.469 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001549/0.3819, allocations: 169.7 kB / 0.5069 GB, free: 8.328 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.541e-05/0.382, allocations: 115.1 kB / 0.507 GB, free: 8.215 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.767e-05/0.382, allocations: 7.75 kB / 0.5071 GB, free: 8.211 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.863e-05/0.3821, allocations: 7.812 kB / 0.5071 GB, free: 8.207 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.3821, allocations: 7.953 kB / 0.5071 GB, free: 8.203 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-06/0.3822, allocations: 3.375 kB / 0.5071 GB, free: 8.203 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001391/0.3823, allocations: 189.4 kB / 0.5073 GB, free: 8.105 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002494/0.3826, allocations: 33.91 kB / 0.5073 GB, free: 8.098 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) * 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.0006546/0.3832, allocations: 326.6 kB / 0.5076 GB, free: 7.852 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001683/0.3834, allocations: 67.08 kB / 0.5077 GB, free: 7.844 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3834, allocations: 0 / 0.5077 GB, free: 7.844 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.948e-05/0.3835, allocations: 25.97 kB / 0.5077 GB, free: 7.84 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.3838, allocations: 43.59 kB / 0.5077 GB, free: 7.832 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004117/0.3842, allocations: 222.4 kB / 0.5079 GB, free: 7.695 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002004/0.3844, allocations: 0.7614 MB / 0.5087 GB, free: 6.957 MB / 330.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3844, allocations: 0 / 0.5087 GB, free: 6.957 MB / 330.7 MB Notification: Performance of Templates: time 0.005534/0.39, allocations: 2.207 MB / 0.5108 GB, free: 5.844 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches