Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.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.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001275/0.001275, allocations: 174.2 kB / 16.76 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.296/1.296, allocations: 205 MB / 222.6 MB, free: 9.051 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.0007146/0.0007146, allocations: 87.77 kB / 270.5 MB, free: 8.668 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.0662/0.0662, allocations: 12.57 MB / 331 MB, free: 12.06 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003294/0.0003295, allocations: 8 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06675/0.0671, allocations: 49.98 MB / 441.7 MB, free: 16.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample): time 0.00125/0.06839, allocations: 1.27 MB / 443 MB, free: 15.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005537/0.06896, allocations: 0.4996 MB / 443.5 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.513e-05/0.06903, allocations: 0 / 443.5 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.991e-05/0.0691, allocations: 3.938 kB / 443.5 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.06922, allocations: 11.92 kB / 443.5 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.06944, allocations: 43.91 kB / 443.5 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.521e-05/0.06951, allocations: 39.86 kB / 443.6 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.835e-05/0.0696, allocations: 19.97 kB / 443.6 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.414e-05/0.06966, allocations: 15.88 kB / 443.6 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.093e-05/0.06971, allocations: 19.86 kB / 443.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.06973, allocations: 4 kB / 443.6 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.558e-06/0.06974, allocations: 0 / 443.6 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.85e-05/0.06979, allocations: 19.91 kB / 443.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.648e-05/0.06982, allocations: 27.81 kB / 443.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.461e-05/0.06988, allocations: 27.94 kB / 443.7 MB, free: 14.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.06989, allocations: 0 / 443.7 MB, free: 14.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.06989, allocations: 0 / 443.7 MB, free: 14.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.06991, allocations: 0 / 443.7 MB, free: 14.38 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003094/0.07022, allocations: 371.5 kB / 444 MB, free: 13.97 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.845e-05/0.07026, allocations: 8.031 kB / 444.1 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.635e-05/0.07029, allocations: 8.844 kB / 444.1 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.07042, allocations: 204 kB / 444.3 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/0.07043, allocations: 8.312 kB / 444.3 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.07045, allocations: 4.375 kB / 444.3 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.07065, allocations: 101.4 kB / 444.4 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.07067, allocations: 7.938 kB / 444.4 MB, free: 13.58 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.07069, allocations: 11.98 kB / 444.4 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.0707, allocations: 0 / 444.4 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.637e-05/0.07077, allocations: 19.92 kB / 444.4 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001998/0.07097, allocations: 261.8 kB / 444.7 MB, free: 13.24 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.465e-05/0.07105, allocations: 53.14 kB / 444.7 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.089e-05/0.0711, allocations: 17.78 kB / 444.7 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.07112, allocations: 0 / 444.7 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.591e-05/0.07114, allocations: 50.48 kB / 444.8 MB, free: 13.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.07115, allocations: 0 / 444.8 MB, free: 13.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001923/0.07135, allocations: 65.59 kB / 444.8 MB, free: 13.02 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.07138, allocations: 85.03 kB / 444.9 MB, free: 12.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.73e-05/0.07147, allocations: 134.2 kB / 445.1 MB, free: 12.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.412e-06/0.07148, allocations: 25.95 kB / 445.1 MB, free: 12.74 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.523e-05/0.07151, allocations: 96.14 kB / 445.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.063e-05/0.07153, allocations: 3.984 kB / 445.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.679e-05/0.07155, allocations: 9.719 kB / 445.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.467e-05/0.07159, allocations: 314.8 kB / 445.5 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.736e-05/0.07163, allocations: 11.98 kB / 445.5 MB, free: 12.29 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.297e-05/0.07167, allocations: 21.72 kB / 445.5 MB, free: 12.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.728e-05/0.07174, allocations: 41.58 kB / 445.6 MB, free: 12.22 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.07175, allocations: 0 / 445.6 MB, free: 12.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.516e-05/0.07185, allocations: 61.69 kB / 445.6 MB, free: 12.15 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.07187, allocations: 4.938 kB / 445.6 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.07188, allocations: 7.984 kB / 445.7 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.0719, allocations: 0 / 445.7 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.896e-05/0.07196, allocations: 4 kB / 445.7 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.07197, allocations: 0 / 445.7 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.402e-05/0.07201, allocations: 7.938 kB / 445.7 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.07202, allocations: 0 / 445.7 MB, free: 12.13 MB / 298.7 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 4.777e-05/0.07208, allocations: 126.6 kB / 445.8 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.434e-05/0.07213, allocations: 37.64 kB / 445.8 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.396e-05/0.07216, allocations: 23.8 kB / 445.8 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.07216, allocations: 0 / 445.8 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.07217, allocations: 0 / 445.8 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.07218, allocations: 4 kB / 445.8 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.07229, allocations: 169.6 kB / 446 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.07229, allocations: 0 / 446 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.188e-05/0.07234, allocations: 8 kB / 446 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.07235, allocations: 3.938 kB / 446 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.07236, allocations: 4.031 kB / 446 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.07237, allocations: 0 / 446 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.07237, allocations: 3.938 kB / 446 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.07249, allocations: 172.2 kB / 446.2 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.236e-05/0.07253, allocations: 89 kB / 446.3 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.07255, allocations: 4.031 kB / 446.3 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.148e-05/0.07261, allocations: 4 kB / 446.3 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.528e-05/0.07265, allocations: 3.984 kB / 446.3 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.07266, allocations: 4 kB / 446.3 MB, free: 11.38 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.193e-05/0.0727, allocations: 103.3 kB / 446.4 MB, free: 11.28 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.07271, allocations: 0 / 446.4 MB, free: 11.28 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001926/0.07291, allocations: 8 kB / 446.4 MB, free: 11.27 MB / 298.7 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 4.82e-05/0.07296, allocations: 91.25 kB / 446.5 MB, free: 11.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001057/0.07307, allocations: 31.91 kB / 446.5 MB, free: 11.14 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.07308, allocations: 0 / 446.5 MB, free: 11.14 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.286e-05/0.07312, allocations: 12 kB / 446.5 MB, free: 11.13 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.07342, allocations: 23.95 kB / 446.6 MB, free: 11.11 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002469/0.07368, allocations: 211.1 kB / 446.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.451e-05/0.07379, allocations: 0.6848 MB / 447.5 MB, free: 10.16 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.076e-05/0.07382, allocations: 11.44 kB / 447.5 MB, free: 10.15 MB / 298.7 MB Notification: Performance of SimCode: time 2.91e-07/0.07382, allocations: 0 / 447.5 MB, free: 10.15 MB / 298.7 MB Notification: Performance of Templates: time 0.001483/0.07531, allocations: 0.7177 MB / 448.2 MB, free: 9.434 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches