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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 163.3 kB / 16.8 MB, free: 5.023 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.536/1.536, allocations: 205.4 MB / 223 MB, free: 8.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.0009674/0.0009675, allocations: 97.47 kB / 271.3 MB, free: 8.234 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.07905/0.07905, allocations: 12.59 MB / 332.2 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004428/0.0004428, allocations: 12 kB / 393.2 MB, free: 65.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08209/0.08255, allocations: 50.38 MB / 443.6 MB, free: 15.51 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3142/0.3968, allocations: 81.92 MB / 0.5132 GB, free: 12.6 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/0.3971, allocations: 85.95 kB / 0.5133 GB, free: 12.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01461/0.4117, allocations: 6.469 MB / 0.5196 GB, free: 8.508 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.4118, allocations: 0 / 0.5196 GB, free: 8.508 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.854e-05/0.4118, allocations: 11.61 kB / 0.5196 GB, free: 8.5 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.0004961/0.4123, allocations: 0.5323 MB / 0.5201 GB, free: 7.926 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.4123, allocations: 8.031 kB / 0.5201 GB, free: 7.918 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.344e-05/0.4124, allocations: 24.66 kB / 0.5202 GB, free: 7.895 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003128/0.4127, allocations: 301.4 kB / 0.5205 GB, free: 7.586 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.4127, allocations: 8.125 kB / 0.5205 GB, free: 7.582 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.4128, allocations: 12.36 kB / 0.5205 GB, free: 7.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/0.413, allocations: 153.9 kB / 0.5206 GB, free: 7.418 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.413, allocations: 192 / 0.5206 GB, free: 7.418 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.4131, allocations: 11.06 kB / 0.5206 GB, free: 7.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.4131, allocations: 4 kB / 0.5206 GB, free: 7.406 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.613e-05/0.4132, allocations: 43.47 kB / 0.5207 GB, free: 7.375 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004014/0.4136, allocations: 392.9 kB / 0.5211 GB, free: 6.984 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.4138, allocations: 127.8 kB / 0.5212 GB, free: 6.852 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.973e-05/0.4139, allocations: 48.5 kB / 0.5212 GB, free: 6.805 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.4139, allocations: 0 / 0.5212 GB, free: 6.805 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001307/0.414, allocations: 84.56 kB / 0.5213 GB, free: 6.723 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.414, allocations: 0 / 0.5213 GB, free: 6.723 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003184/0.4144, allocations: 165.5 kB / 0.5215 GB, free: 6.586 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.4144, allocations: 154.2 kB / 0.5216 GB, free: 6.398 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/0.4147, allocations: 327 kB / 0.5219 GB, free: 6.125 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.4147, allocations: 32.45 kB / 0.5219 GB, free: 6.09 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.427e-05/0.4148, allocations: 137.8 kB / 0.5221 GB, free: 5.984 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.4148, allocations: 18.5 kB / 0.5221 GB, free: 5.969 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-06/0.4148, allocations: 0 / 0.5221 GB, free: 5.969 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.447e-05/0.4149, allocations: 336.4 kB / 0.5224 GB, free: 5.641 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.049e-05/0.4149, allocations: 24.92 kB / 0.5224 GB, free: 5.625 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.624e-05/0.415, allocations: 96.98 kB / 0.5225 GB, free: 5.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.4152, allocations: 83.83 kB / 0.5226 GB, free: 5.441 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4152, allocations: 3.938 kB / 0.5226 GB, free: 5.438 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001801/0.4154, allocations: 128.3 kB / 0.5227 GB, free: 5.328 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.4154, allocations: 4.781 kB / 0.5227 GB, free: 5.324 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.4154, allocations: 4 kB / 0.5228 GB, free: 5.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.4154, allocations: 0 / 0.5228 GB, free: 5.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.235e-05/0.4155, allocations: 23.92 kB / 0.5228 GB, free: 5.297 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.4155, allocations: 0 / 0.5228 GB, free: 5.297 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.7e-05/0.4156, allocations: 7.812 kB / 0.5228 GB, free: 5.293 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.4156, allocations: 4 kB / 0.5228 GB, free: 5.289 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 9.712e-05/0.4157, allocations: 162.8 kB / 0.5229 GB, free: 5.133 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.443e-05/0.4158, allocations: 67.92 kB / 0.523 GB, free: 5.066 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002171/0.416, allocations: 125.3 kB / 0.5231 GB, free: 4.961 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.416, allocations: 4 kB / 0.5231 GB, free: 4.957 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.416, allocations: 0 / 0.5231 GB, free: 4.957 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.416, allocations: 11.86 kB / 0.5231 GB, free: 4.945 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.4162, allocations: 254.6 kB / 0.5234 GB, free: 4.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.4162, allocations: 4.062 kB / 0.5234 GB, free: 4.676 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.98e-05/0.4163, allocations: 15.05 kB / 0.5234 GB, free: 4.664 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.4163, allocations: 4 kB / 0.5234 GB, free: 4.66 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.4163, allocations: 0 / 0.5234 GB, free: 4.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.4163, allocations: 4 kB / 0.5234 GB, free: 4.656 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4163, allocations: 0 / 0.5234 GB, free: 4.656 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/0.4165, allocations: 173.7 kB / 0.5236 GB, free: 4.488 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.163e-05/0.4166, allocations: 131.5 kB / 0.5237 GB, free: 4.352 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.006e-05/0.4167, allocations: 4 kB / 0.5237 GB, free: 4.348 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.172e-05/0.4167, allocations: 7.984 kB / 0.5237 GB, free: 4.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.529e-05/0.4168, allocations: 11.17 kB / 0.5237 GB, free: 4.332 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.4168, allocations: 4 kB / 0.5237 GB, free: 4.328 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001746/0.417, allocations: 241.7 kB / 0.524 GB, free: 4.137 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.417, allocations: 0 / 0.524 GB, free: 4.137 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002438/0.4172, allocations: 47.25 kB / 0.524 GB, free: 4.094 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.0007806/0.418, allocations: 453.9 kB / 0.5244 GB, free: 3.656 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002279/0.4183, allocations: 90.94 kB / 0.5245 GB, free: 3.586 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.4183, allocations: 4 kB / 0.5245 GB, free: 3.582 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.47e-05/0.4183, allocations: 30.61 kB / 0.5246 GB, free: 3.562 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.4187, allocations: 62.94 kB / 0.5246 GB, free: 3.512 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000517/0.4193, allocations: 407.3 kB / 0.525 GB, free: 3.117 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001728/0.4195, allocations: 0.7354 MB / 0.5257 GB, free: 2.359 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.815e-05/0.4195, allocations: 29.53 kB / 0.5257 GB, free: 2.332 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.66e-05/0.4196, allocations: 26.25 kB / 0.5258 GB, free: 2.309 MB / 330.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4196, allocations: 0 / 0.5258 GB, free: 2.309 MB / 330.7 MB Notification: Performance of Templates: time 0.005528/0.4251, allocations: 2.776 MB / 0.5285 GB, free: 15.55 MB / 346.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/jenkins1/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