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.0008798/0.0008799, allocations: 177.9 kB / 16.77 MB, free: 5.051 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.342/1.342, allocations: 205 MB / 222.5 MB, free: 9.059 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.0007197/0.0007197, allocations: 93 kB / 270.5 MB, free: 8.66 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.0638/0.0638, allocations: 12.57 MB / 331 MB, free: 12.06 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003208/0.0003208, allocations: 12 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0904/0.09074, allocations: 49.99 MB / 441.7 MB, free: 16.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample): time 0.002526/0.09331, allocations: 1.587 MB / 443.3 MB, free: 14.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.0954, allocations: 1.057 MB / 444.3 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.09552, allocations: 3.938 kB / 444.3 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003139/0.09585, allocations: 63.8 kB / 444.4 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002222/0.09609, allocations: 79.78 kB / 444.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008744/0.09698, allocations: 215.6 kB / 444.7 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002287/0.09722, allocations: 151.5 kB / 444.8 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.09735, allocations: 33.55 kB / 444.9 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.09748, allocations: 63.7 kB / 444.9 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.09761, allocations: 71.62 kB / 445 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.09765, allocations: 0 / 445 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001551/0.09782, allocations: 55.97 kB / 445.1 MB, free: 13 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.145e-05/0.09792, allocations: 47.81 kB / 445.1 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.266e-05/0.09801, allocations: 67.44 kB / 445.2 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002307/0.09826, allocations: 167.9 kB / 445.3 MB, free: 12.72 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.09828, allocations: 8 kB / 445.3 MB, free: 12.71 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.09829, allocations: 0 / 445.3 MB, free: 12.71 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.0983, allocations: 0 / 445.3 MB, free: 12.71 MB / 298.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.0006129/0.09892, allocations: 0.504 MB / 445.8 MB, free: 12.15 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.09897, allocations: 8.031 kB / 445.9 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.915e-05/0.09905, allocations: 24.66 kB / 445.9 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003524/0.09942, allocations: 271.6 kB / 446.1 MB, free: 11.81 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.09945, allocations: 12.36 kB / 446.2 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.09949, allocations: 12.12 kB / 446.2 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000386/0.09989, allocations: 159.5 kB / 446.3 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.09992, allocations: 0 / 446.3 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.09995, allocations: 3.984 kB / 446.3 MB, free: 11.6 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.09997, allocations: 8 kB / 446.3 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001617/0.1001, allocations: 35.92 kB / 446.4 MB, free: 11.56 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005486/0.1007, allocations: 390.3 kB / 446.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002991/0.101, allocations: 119.9 kB / 446.9 MB, free: 10.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.1012, allocations: 42.56 kB / 446.9 MB, free: 10.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.827e-05/0.1012, allocations: 3.938 kB / 446.9 MB, free: 10.92 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002336/0.1015, allocations: 87.31 kB / 447 MB, free: 10.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 2.214e-06/0.1015, allocations: 0 / 447 MB, free: 10.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004473/0.1019, allocations: 141.6 kB / 447.1 MB, free: 10.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/0.102, allocations: 166.2 kB / 447.3 MB, free: 10.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003826/0.1024, allocations: 330.8 kB / 447.6 MB, free: 10.15 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.1024, allocations: 33.7 kB / 447.7 MB, free: 10.11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.369e-05/0.1025, allocations: 132.1 kB / 447.8 MB, free: 9.977 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.1026, allocations: 11.81 kB / 447.8 MB, free: 9.965 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/0.1026, allocations: 21.7 kB / 447.8 MB, free: 9.938 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.639e-05/0.1027, allocations: 334.8 kB / 448.1 MB, free: 9.602 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.609e-05/0.1028, allocations: 23.98 kB / 448.2 MB, free: 9.578 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.1029, allocations: 86.84 kB / 448.3 MB, free: 9.469 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.1031, allocations: 84.28 kB / 448.3 MB, free: 9.371 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.1032, allocations: 4 kB / 448.3 MB, free: 9.367 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002731/0.1034, allocations: 121.4 kB / 448.5 MB, free: 9.242 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1035, allocations: 12.92 kB / 448.5 MB, free: 9.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1035, allocations: 0 / 448.5 MB, free: 9.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.1035, allocations: 0 / 448.5 MB, free: 9.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.1036, allocations: 16 kB / 448.5 MB, free: 9.215 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.1037, allocations: 3.938 kB / 448.5 MB, free: 9.211 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.1038, allocations: 27.77 kB / 448.5 MB, free: 9.184 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.1038, allocations: 4 kB / 448.5 MB, free: 9.18 MB / 298.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 ($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.0001379/0.104, allocations: 146.8 kB / 448.7 MB, free: 9.027 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.1041, allocations: 69.34 kB / 448.7 MB, free: 8.953 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.28e-05/0.1041, allocations: 29.7 kB / 448.8 MB, free: 8.926 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1042, allocations: 0 / 448.8 MB, free: 8.926 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1042, allocations: 4 kB / 448.8 MB, free: 8.922 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.1042, allocations: 3.938 kB / 448.8 MB, free: 8.918 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/0.1044, allocations: 237.6 kB / 449 MB, free: 8.637 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1044, allocations: 0 / 449 MB, free: 8.637 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.843e-05/0.1045, allocations: 16.05 kB / 449 MB, free: 8.621 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.1045, allocations: 4 kB / 449 MB, free: 8.617 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.1046, allocations: 0 / 449 MB, free: 8.617 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1046, allocations: 4 kB / 449 MB, free: 8.613 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.1046, allocations: 3.938 kB / 449 MB, free: 8.609 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00032/0.1049, allocations: 170.3 kB / 449.2 MB, free: 8.418 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.782e-05/0.105, allocations: 113 kB / 449.3 MB, free: 8.289 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.619e-05/0.1051, allocations: 12 kB / 449.3 MB, free: 8.277 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.1052, allocations: 4 kB / 449.3 MB, free: 8.273 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.2e-05/0.1053, allocations: 7.984 kB / 449.3 MB, free: 8.266 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.242e-05/0.1053, allocations: 7.938 kB / 449.3 MB, free: 8.258 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002844/0.1056, allocations: 249.9 kB / 449.6 MB, free: 8.012 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1056, allocations: 0 / 449.6 MB, free: 8.012 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004267/0.1061, allocations: 28 kB / 449.6 MB, free: 7.984 MB / 298.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,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.001222/0.1073, allocations: 429.1 kB / 450 MB, free: 7.555 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002873/0.1076, allocations: 71.91 kB / 450.1 MB, free: 7.484 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1076, allocations: 0 / 450.1 MB, free: 7.484 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.1077, allocations: 31.92 kB / 450.1 MB, free: 7.453 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005249/0.1083, allocations: 56.5 kB / 450.2 MB, free: 7.398 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007123/0.109, allocations: 448.9 kB / 450.6 MB, free: 6.926 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/0.1092, allocations: 0.7361 MB / 451.4 MB, free: 6.164 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.291e-05/0.1093, allocations: 23.42 kB / 451.4 MB, free: 6.145 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1093, allocations: 0 / 451.4 MB, free: 6.145 MB / 298.7 MB Notification: Performance of Templates: time 0.005808/0.1151, allocations: 2.847 MB / 454.2 MB, free: 3.293 MB / 298.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