Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.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.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001312/0.001312, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.337/1.337, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00101/0.00101, allocations: 51.3 kB / 300.6 MB, free: 5.848 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1128, allocations: 49.43 MB / 350 MB, free: 4.406 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002856/0.1157, allocations: 1.542 MB / 351.6 MB, free: 2.844 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008194/0.1165, allocations: 0.5039 MB / 352.1 MB, free: 2.336 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.207e-05/0.1166, allocations: 0 / 352.1 MB, free: 2.336 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.035e-05/0.1167, allocations: 3.938 kB / 352.1 MB, free: 2.332 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.1168, allocations: 19.86 kB / 352.1 MB, free: 2.312 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002374/0.117, allocations: 49.08 kB / 352.2 MB, free: 2.266 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.17e-05/0.1171, allocations: 43.8 kB / 352.2 MB, free: 2.223 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.1173, allocations: 23.97 kB / 352.2 MB, free: 2.199 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.353e-05/0.1174, allocations: 15.94 kB / 352.2 MB, free: 2.184 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.691e-05/0.1174, allocations: 23.86 kB / 352.3 MB, free: 2.16 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.1174, allocations: 0 / 352.3 MB, free: 2.16 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.19e-05/0.1175, allocations: 8 kB / 352.3 MB, free: 2.152 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.018e-05/0.1175, allocations: 11.98 kB / 352.3 MB, free: 2.141 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.749e-05/0.1176, allocations: 31.8 kB / 352.3 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.1177, allocations: 51.75 kB / 352.4 MB, free: 2.059 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1177, allocations: 0 / 352.4 MB, free: 2.059 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1177, allocations: 0 / 352.4 MB, free: 2.059 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.1177, allocations: 0 / 352.4 MB, free: 2.059 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004756/0.1182, allocations: 383.3 kB / 352.7 MB, free: 1.637 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.1182, allocations: 8.031 kB / 352.8 MB, free: 1.629 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.874e-05/0.1183, allocations: 12.84 kB / 352.8 MB, free: 1.617 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.1185, allocations: 191 kB / 353 MB, free: 1.395 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.1185, allocations: 4.375 kB / 353 MB, free: 1.391 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.1185, allocations: 384 / 353 MB, free: 1.391 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002635/0.1188, allocations: 117.3 kB / 353.1 MB, free: 1.258 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.1188, allocations: 4 kB / 353.1 MB, free: 1.254 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.1188, allocations: 0 / 353.1 MB, free: 1.254 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1188, allocations: 0 / 353.1 MB, free: 1.254 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.301e-05/0.1189, allocations: 23.92 kB / 353.1 MB, free: 1.23 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002996/0.1192, allocations: 257.7 kB / 353.4 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.663e-05/0.1193, allocations: 49.16 kB / 353.4 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.659e-05/0.1193, allocations: 25.77 kB / 353.4 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.1193, allocations: 0 / 353.4 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.1194, allocations: 30.56 kB / 353.5 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.1194, allocations: 0 / 353.5 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002259/0.1196, allocations: 69.7 kB / 353.5 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.1197, allocations: 77.11 kB / 353.6 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.1198, allocations: 142.1 kB / 353.7 MB, free: 484 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.1198, allocations: 25.7 kB / 353.8 MB, free: 452 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.276e-05/0.1199, allocations: 92.05 kB / 353.9 MB, free: 356 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.364e-05/0.1199, allocations: 3.938 kB / 353.9 MB, free: 352 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.971e-05/0.1199, allocations: 17.72 kB / 353.9 MB, free: 328 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.12, allocations: 319 kB / 354.2 MB, free: 0 / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.759e-05/0.1201, allocations: 8.109 kB / 354.2 MB, free: 15.99 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.844e-05/0.1201, allocations: 29.59 kB / 354.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.385e-05/0.1202, allocations: 33.64 kB / 354.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1202, allocations: 0 / 354.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001193/0.1204, allocations: 61.59 kB / 354.3 MB, free: 15.85 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.1204, allocations: 4 kB / 354.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1204, allocations: 0 / 354.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.1204, allocations: 4 kB / 354.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.892e-05/0.1205, allocations: 7.984 kB / 354.3 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.1205, allocations: 0 / 354.3 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.486e-05/0.1205, allocations: 4 kB / 354.3 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.1205, allocations: 0 / 354.3 MB, free: 15.83 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.731e-05/0.1206, allocations: 125.8 kB / 354.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.59e-05/0.1207, allocations: 41.55 kB / 354.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.743e-05/0.1207, allocations: 7.875 kB / 354.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.1207, allocations: 4 kB / 354.5 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/0.1207, allocations: 0 / 354.5 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1208, allocations: 7.938 kB / 354.5 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.1209, allocations: 165.6 kB / 354.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1209, allocations: 4 kB / 354.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.317e-05/0.121, allocations: 7.984 kB / 354.7 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.121, allocations: 4.031 kB / 354.7 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-06/0.121, allocations: 0 / 354.7 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.121, allocations: 0 / 354.7 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.087e-05/0.121, allocations: 4 kB / 354.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001545/0.1212, allocations: 164.2 kB / 354.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.647e-05/0.1213, allocations: 96.98 kB / 355 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.1213, allocations: 11.97 kB / 355 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.23e-05/0.1213, allocations: 0 / 355 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.537e-05/0.1214, allocations: 0 / 355 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-06/0.1214, allocations: 4 kB / 355 MB, free: 15.09 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.113e-05/0.1215, allocations: 110.5 kB / 355.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1215, allocations: 0 / 355.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002118/0.1217, allocations: 4 kB / 355.1 MB, free: 14.98 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 9.825e-05/0.1218, allocations: 99.72 kB / 355.2 MB, free: 14.87 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001266/0.1219, allocations: 27.98 kB / 355.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1219, allocations: 0 / 355.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.847e-05/0.122, allocations: 19.92 kB / 355.2 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.1223, allocations: 19.89 kB / 355.2 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003111/0.1226, allocations: 159.7 kB / 355.4 MB, free: 14.62 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.1229, allocations: 0.6924 MB / 356.1 MB, free: 13.9 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.816e-05/0.1229, allocations: 7.984 kB / 356.1 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.368e-05/0.123, allocations: 7.438 kB / 356.1 MB, free: 13.88 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.123, allocations: 0 / 356.1 MB, free: 13.88 MB / 302.1 MB Notification: Performance of Templates: time 0.002519/0.1255, allocations: 0.5314 MB / 356.6 MB, free: 13.37 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches