Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008906/0.0008907, allocations: 93.47 kB / 17.31 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009743/0.0009743, allocations: 175.4 kB / 18.21 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 223.3 MB / 242.3 MB, free: 204 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002228/0.0002228, allocations: 11.98 kB / 302.1 MB, free: 6.133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07328/0.07351, allocations: 50.41 MB / 352.5 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.001889/0.07544, allocations: 1.582 MB / 354.1 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001548/0.07701, allocations: 1.103 MB / 355.2 MB, free: 1.004 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.102e-05/0.0771, allocations: 7.938 kB / 355.2 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002529/0.07736, allocations: 55.8 kB / 355.2 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001828/0.07755, allocations: 83.72 kB / 355.3 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005837/0.07815, allocations: 242.4 kB / 355.6 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000186/0.07834, allocations: 155.5 kB / 355.7 MB, free: 488 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.509e-05/0.07845, allocations: 29.52 kB / 355.7 MB, free: 460 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.729e-05/0.07854, allocations: 63.66 kB / 355.8 MB, free: 396 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.596e-05/0.07865, allocations: 67.69 kB / 355.9 MB, free: 328 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.07867, allocations: 4 kB / 355.9 MB, free: 324 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.0788, allocations: 59.89 kB / 355.9 MB, free: 264 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.742e-05/0.07887, allocations: 43.84 kB / 356 MB, free: 220 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.737e-05/0.07896, allocations: 97.17 kB / 356.1 MB, free: 116 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.07917, allocations: 168 kB / 356.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.07918, allocations: 0 / 356.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.07919, allocations: 0 / 356.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.447e-06/0.0792, allocations: 0 / 356.2 MB, free: 15.95 MB / 302.1 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.000569/0.07977, allocations: 0.5078 MB / 356.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.07981, allocations: 8.031 kB / 356.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.098e-05/0.07987, allocations: 28.59 kB / 356.8 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000289/0.08016, allocations: 279.6 kB / 357 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.08019, allocations: 8.375 kB / 357.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.08021, allocations: 8.125 kB / 357.1 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002957/0.08052, allocations: 155.6 kB / 357.2 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.08053, allocations: 0 / 357.2 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.08056, allocations: 8 kB / 357.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.08057, allocations: 7.875 kB / 357.2 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.08068, allocations: 31.97 kB / 357.3 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004498/0.08114, allocations: 382.4 kB / 357.6 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.08138, allocations: 115.9 kB / 357.7 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.825e-05/0.08148, allocations: 42.56 kB / 357.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.08151, allocations: 12.06 kB / 357.8 MB, free: 14.17 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001729/0.08169, allocations: 79.31 kB / 357.9 MB, free: 14.08 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.08171, allocations: 0 / 357.9 MB, free: 14.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.000357/0.08207, allocations: 153.3 kB / 358 MB, free: 13.92 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.855e-05/0.08215, allocations: 162.5 kB / 358.2 MB, free: 13.73 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003109/0.08246, allocations: 330.6 kB / 358.5 MB, free: 13.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.08249, allocations: 25.7 kB / 358.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.912e-05/0.08258, allocations: 128.1 kB / 358.7 MB, free: 13.23 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.08261, allocations: 19.8 kB / 358.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.08265, allocations: 17.72 kB / 358.7 MB, free: 13.19 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.609e-05/0.08275, allocations: 334.8 kB / 359 MB, free: 12.85 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.111e-05/0.08282, allocations: 23.98 kB / 359 MB, free: 12.83 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.08294, allocations: 90.8 kB / 359.1 MB, free: 12.71 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.08309, allocations: 92.45 kB / 359.2 MB, free: 12.61 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.0831, allocations: 0 / 359.2 MB, free: 12.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002251/0.08333, allocations: 117.4 kB / 359.3 MB, free: 12.49 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.08336, allocations: 8 kB / 359.3 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.08337, allocations: 0 / 359.3 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.08338, allocations: 4.047 kB / 359.3 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.08349, allocations: 19.97 kB / 359.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.0835, allocations: 7.984 kB / 359.4 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.47e-05/0.08361, allocations: 23.91 kB / 359.4 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.08363, allocations: 4 kB / 359.4 MB, free: 12.42 MB / 302.1 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 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001199/0.08375, allocations: 157.7 kB / 359.6 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.747e-05/0.08384, allocations: 57.52 kB / 359.6 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.899e-05/0.08389, allocations: 25.7 kB / 359.6 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.0839, allocations: 4 kB / 359.6 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.08391, allocations: 0 / 359.6 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.08392, allocations: 11.94 kB / 359.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.08411, allocations: 241.5 kB / 359.9 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.08412, allocations: 0 / 359.9 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.447e-05/0.08419, allocations: 15.94 kB / 359.9 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.0842, allocations: 0 / 359.9 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.08422, allocations: 7.984 kB / 359.9 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.08423, allocations: 4 kB / 359.9 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.08424, allocations: 0 / 359.9 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000245/0.08448, allocations: 162.5 kB / 360.1 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.909e-05/0.08458, allocations: 116.8 kB / 360.2 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/0.08462, allocations: 3.984 kB / 360.2 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.296e-05/0.0847, allocations: 8.062 kB / 360.2 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.08475, allocations: 11.98 kB / 360.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.08477, allocations: 7.938 kB / 360.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002184/0.08499, allocations: 241.9 kB / 360.5 MB, free: 11.26 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.085, allocations: 4 kB / 360.5 MB, free: 11.26 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.08527, allocations: 39.98 kB / 360.5 MB, free: 11.22 MB / 302.1 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,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009003/0.08618, allocations: 426.3 kB / 360.9 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002054/0.08639, allocations: 75.89 kB / 361 MB, free: 10.88 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.08641, allocations: 0 / 361 MB, free: 10.88 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.618e-05/0.08649, allocations: 28.23 kB / 361 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.08689, allocations: 72.55 kB / 361.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000554/0.08745, allocations: 446.1 kB / 361.5 MB, free: 10.31 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.08772, allocations: 0.74 MB / 362.3 MB, free: 9.543 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.759e-05/0.08777, allocations: 23.44 kB / 362.3 MB, free: 9.52 MB / 302.1 MB Notification: Performance of SimCode: time 2.71e-07/0.08778, allocations: 0 / 362.3 MB, free: 9.52 MB / 302.1 MB Notification: Performance of Templates: time 0.004375/0.09216, allocations: 2.836 MB / 365.1 MB, free: 6.691 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches