Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.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.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.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.001066/0.001066, allocations: 186.9 kB / 7.843 MB, free: 2.496 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.361/1.361, allocations: 205.2 MB / 213.4 MB, free: 13.93 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.0008883/0.0008883, allocations: 89.14 kB / 261.5 MB, free: 13.63 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.07925/0.07925, allocations: 12.59 MB / 322 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 5.129e-06/5.149e-06, allocations: 0 / 378.4 MB, free: 75.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1047, allocations: 50.37 MB / 428.8 MB, free: 25.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2992/0.4039, allocations: 81.04 MB / 0.4979 GB, free: 11.61 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/0.4043, allocations: 76.02 kB / 0.4979 GB, free: 11.61 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01655/0.4208, allocations: 6.063 MB / 0.5038 GB, free: 10.7 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.838e-05/0.4209, allocations: 0 / 0.5038 GB, free: 10.7 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.0004808/0.4214, allocations: 0.4958 MB / 0.5043 GB, free: 10.22 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.4214, allocations: 7.688 kB / 0.5043 GB, free: 10.22 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.094e-05/0.4215, allocations: 23.41 kB / 0.5044 GB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003858/0.4219, allocations: 286.7 kB / 0.5046 GB, free: 9.965 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.4219, allocations: 3.938 kB / 0.5046 GB, free: 9.965 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.422, allocations: 3.844 kB / 0.5046 GB, free: 9.965 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001051/0.4221, allocations: 42.17 kB / 0.5047 GB, free: 9.957 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.4223, allocations: 140.9 kB / 0.5048 GB, free: 9.848 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.4223, allocations: 3.875 kB / 0.5048 GB, free: 9.848 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.4223, allocations: 0 / 0.5048 GB, free: 9.848 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.4224, allocations: 0 / 0.5048 GB, free: 9.848 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004382/0.4228, allocations: 377.8 kB / 0.5052 GB, free: 9.547 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.4229, allocations: 105.1 kB / 0.5053 GB, free: 9.469 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.026e-05/0.423, allocations: 57.28 kB / 0.5053 GB, free: 9.43 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.423, allocations: 3.906 kB / 0.5053 GB, free: 9.426 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.597e-05/0.4231, allocations: 70.23 kB / 0.5054 GB, free: 9.371 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.793e-06/0.4231, allocations: 0 / 0.5054 GB, free: 9.371 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002059/0.4234, allocations: 106.7 kB / 0.5055 GB, free: 9.316 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.4234, allocations: 162.1 kB / 0.5057 GB, free: 9.125 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002405/0.4237, allocations: 288.9 kB / 0.5059 GB, free: 9 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.4237, allocations: 25.7 kB / 0.506 GB, free: 8.969 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.675e-05/0.4237, allocations: 102.7 kB / 0.5061 GB, free: 8.879 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.4238, allocations: 26.7 kB / 0.5061 GB, free: 8.859 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-06/0.4238, allocations: 0 / 0.5061 GB, free: 8.859 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.545e-05/0.4238, allocations: 325.7 kB / 0.5064 GB, free: 8.543 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.722e-05/0.4239, allocations: 26.17 kB / 0.5064 GB, free: 8.535 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.937e-05/0.424, allocations: 92.41 kB / 0.5065 GB, free: 8.461 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.828e-05/0.424, allocations: 30.92 kB / 0.5065 GB, free: 8.453 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.424, allocations: 3.906 kB / 0.5065 GB, free: 8.449 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001459/0.4242, allocations: 110 kB / 0.5067 GB, free: 8.398 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.4242, allocations: 3.844 kB / 0.5067 GB, free: 8.398 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.4242, allocations: 3.906 kB / 0.5067 GB, free: 8.398 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.4242, allocations: 3.938 kB / 0.5067 GB, free: 8.395 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.4243, allocations: 19.27 kB / 0.5067 GB, free: 8.391 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.4243, allocations: 3.844 kB / 0.5067 GB, free: 8.391 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.132e-05/0.4244, allocations: 15.84 kB / 0.5067 GB, free: 8.379 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.4244, allocations: 7.906 kB / 0.5067 GB, free: 8.375 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 6.459e-05/0.4245, allocations: 116.2 kB / 0.5068 GB, free: 8.262 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.677e-05/0.4246, allocations: 60.48 kB / 0.5069 GB, free: 8.219 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001774/0.4248, allocations: 99.81 kB / 0.507 GB, free: 8.168 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.4248, allocations: 3.781 kB / 0.507 GB, free: 8.168 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.4248, allocations: 7.844 kB / 0.507 GB, free: 8.16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.4248, allocations: 8.047 kB / 0.507 GB, free: 8.152 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.425, allocations: 221.3 kB / 0.5072 GB, free: 7.965 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.425, allocations: 3.875 kB / 0.5072 GB, free: 7.965 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.993e-05/0.425, allocations: 11.59 kB / 0.5072 GB, free: 7.961 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.4251, allocations: 3.844 kB / 0.5072 GB, free: 7.961 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.4251, allocations: 3.984 kB / 0.5072 GB, free: 7.957 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.4251, allocations: 3.906 kB / 0.5072 GB, free: 7.953 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.4251, allocations: 3.875 kB / 0.5072 GB, free: 7.953 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001689/0.4253, allocations: 172.7 kB / 0.5074 GB, free: 7.816 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.4254, allocations: 120 kB / 0.5075 GB, free: 7.703 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.166e-05/0.4254, allocations: 5.828 kB / 0.5075 GB, free: 7.703 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.942e-05/0.4255, allocations: 10.91 kB / 0.5075 GB, free: 7.695 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.046e-05/0.4256, allocations: 7.891 kB / 0.5075 GB, free: 7.691 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.4256, allocations: 3.781 kB / 0.5075 GB, free: 7.691 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001745/0.4258, allocations: 232.9 kB / 0.5078 GB, free: 7.594 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002761/0.426, allocations: 57.45 kB / 0.5078 GB, free: 7.574 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.0006215/0.4267, allocations: 326.9 kB / 0.5081 GB, free: 7.332 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001756/0.4269, allocations: 75.47 kB / 0.5082 GB, free: 7.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4269, allocations: 0 / 0.5082 GB, free: 7.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.283e-05/0.427, allocations: 41.45 kB / 0.5082 GB, free: 7.309 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.4273, allocations: 49.16 kB / 0.5083 GB, free: 7.297 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000449/0.4278, allocations: 273.9 kB / 0.5085 GB, free: 7.148 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/0.428, allocations: 0.7701 MB / 0.5093 GB, free: 6.41 MB / 330.7 MB Notification: Performance of SimCode: time 2.41e-07/0.428, allocations: 3.938 kB / 0.5093 GB, free: 6.406 MB / 330.7 MB Notification: Performance of Templates: time 0.005739/0.4337, allocations: 2.544 MB / 0.5118 GB, free: 5.129 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches