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/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 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 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009537/0.009536, allocations: 89.23 kB / 15.91 MB, free: 6.301 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.001846/0.001846, allocations: 195.6 kB / 16.83 MB, free: 6.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.626/1.626, allocations: 205.1 MB / 222.7 MB, free: 4.789 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08791/0.08791, allocations: 12.6 MB / 282.6 MB, free: 8.898 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 87.88 kB / 342.8 MB, free: 21.2 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1177, allocations: 49.4 MB / 392.2 MB, free: 3.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample): time 0.003676/0.1215, allocations: 1.918 MB / 394.1 MB, free: 1.785 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002044/0.1235, allocations: 1.061 MB / 395.2 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.1237, allocations: 7.938 kB / 395.2 MB, free: 0.707 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003707/0.1241, allocations: 63.78 kB / 395.2 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002256/0.1243, allocations: 79.73 kB / 395.3 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007161/0.125, allocations: 207.6 kB / 395.5 MB, free: 372 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002072/0.1253, allocations: 155.5 kB / 395.7 MB, free: 216 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.1254, allocations: 37.53 kB / 395.7 MB, free: 180 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.1255, allocations: 55.72 kB / 395.8 MB, free: 124 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.1256, allocations: 83.61 kB / 395.8 MB, free: 40 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.1257, allocations: 4 kB / 395.8 MB, free: 36 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001552/0.1258, allocations: 55.95 kB / 395.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.417e-05/0.1259, allocations: 43.84 kB / 395.9 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.701e-05/0.126, allocations: 75.41 kB / 396 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002852/0.1263, allocations: 227.5 kB / 396.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.1263, allocations: 4 kB / 396.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.1263, allocations: 0 / 396.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.1263, allocations: 0 / 396.2 MB, free: 15.64 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.0008283/0.1272, allocations: 0.5273 MB / 396.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.1272, allocations: 8.031 kB / 396.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001701/0.1274, allocations: 24.66 kB / 396.8 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003829/0.1278, allocations: 283.6 kB / 397.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.1278, allocations: 8.375 kB / 397.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.1278, allocations: 12.12 kB / 397.1 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003526/0.1282, allocations: 155.6 kB / 397.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.1282, allocations: 0 / 397.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.1282, allocations: 7.984 kB / 397.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.1283, allocations: 8 kB / 397.3 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.1284, allocations: 31.92 kB / 397.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000543/0.1289, allocations: 390.3 kB / 397.7 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.1292, allocations: 123.8 kB / 397.8 MB, free: 13.87 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.809e-05/0.1293, allocations: 46.5 kB / 397.8 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.866e-05/0.1293, allocations: 4 kB / 397.9 MB, free: 13.81 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002596/0.1296, allocations: 79.38 kB / 397.9 MB, free: 13.72 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.1296, allocations: 0 / 397.9 MB, free: 13.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004646/0.1301, allocations: 153.2 kB / 398.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.877e-05/0.1302, allocations: 162.2 kB / 398.2 MB, free: 13.37 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003374/0.1305, allocations: 334.9 kB / 398.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.1306, allocations: 25.7 kB / 398.6 MB, free: 13 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/0.1308, allocations: 128.1 kB / 398.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.1308, allocations: 15.81 kB / 398.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-05/0.1309, allocations: 33.61 kB / 398.8 MB, free: 12.82 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.131, allocations: 338.8 kB / 399.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.649e-05/0.1311, allocations: 23.98 kB / 399.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.1312, allocations: 86.8 kB / 399.2 MB, free: 12.35 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.1314, allocations: 84.2 kB / 399.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1314, allocations: 7.938 kB / 399.3 MB, free: 12.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002841/0.1317, allocations: 117.4 kB / 399.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.1317, allocations: 4 kB / 399.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.1318, allocations: 4 kB / 399.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.1318, allocations: 0 / 399.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.1319, allocations: 24.23 kB / 399.4 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1319, allocations: 0 / 399.4 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.551e-05/0.132, allocations: 15.88 kB / 399.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.132, allocations: 12.12 kB / 399.5 MB, free: 12.06 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,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001589/0.1322, allocations: 151.5 kB / 399.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.982e-05/0.1323, allocations: 69.36 kB / 399.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.055e-05/0.1323, allocations: 25.7 kB / 399.7 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1324, allocations: 0 / 399.7 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1324, allocations: 0 / 399.7 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.1324, allocations: 7.938 kB / 399.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002489/0.1326, allocations: 241.5 kB / 399.9 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1326, allocations: 12 kB / 400 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.097e-05/0.1327, allocations: 8 kB / 400 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.1327, allocations: 0 / 400 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.1327, allocations: 8 kB / 400 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.189e-06/0.1328, allocations: 7.922 kB / 400 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1328, allocations: 0 / 400 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003226/0.1331, allocations: 166.5 kB / 400.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.1332, allocations: 112.8 kB / 400.3 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.7e-05/0.1333, allocations: 8 kB / 400.3 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.249e-05/0.1333, allocations: 3.984 kB / 400.3 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.991e-05/0.1334, allocations: 8 kB / 400.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.1334, allocations: 11.92 kB / 400.3 MB, free: 11.13 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002311/0.1337, allocations: 237.9 kB / 400.5 MB, free: 10.9 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1337, allocations: 0 / 400.5 MB, free: 10.9 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00027/0.1339, allocations: 32 kB / 400.6 MB, free: 10.87 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,superSample.y,sample.y,superSample.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.001004/0.135, allocations: 423.9 kB / 401 MB, free: 10.44 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002199/0.1352, allocations: 67.91 kB / 401 MB, free: 10.38 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1352, allocations: 3.938 kB / 401 MB, free: 10.37 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.908e-05/0.1353, allocations: 31.92 kB / 401.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.1357, allocations: 65.14 kB / 401.1 MB, free: 10.28 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005807/0.1363, allocations: 407.3 kB / 401.5 MB, free: 9.852 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.1366, allocations: 0.74 MB / 402.3 MB, free: 9.086 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.58e-05/0.1367, allocations: 29.53 kB / 402.3 MB, free: 9.055 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.942e-05/0.1368, allocations: 23.44 kB / 402.3 MB, free: 9.035 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1368, allocations: 0 / 402.3 MB, free: 9.035 MB / 302.1 MB Notification: Performance of Templates: time 0.006481/0.1433, allocations: 2.693 MB / 405 MB, free: 6.336 MB / 302.1 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