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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 101.7 kB / 16.02 MB, free: 6.305 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.001188/0.001187, allocations: 193.3 kB / 16.95 MB, free: 6.145 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.644/1.644, allocations: 205.1 MB / 222.8 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08805/0.08805, allocations: 12.58 MB / 282.7 MB, free: 15.68 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.001682/0.001682, allocations: 98.98 kB / 343 MB, free: 3.328 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.3954, allocations: 49.38 MB / 392.4 MB, free: 49.14 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample): time 0.003881/0.3993, allocations: 1.604 MB / 394 MB, free: 48.04 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.4006, allocations: 0.4981 MB / 394.5 MB, free: 47.69 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.4008, allocations: 10.34 kB / 394.5 MB, free: 47.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.177e-05/0.4008, allocations: 5.156 kB / 394.5 MB, free: 47.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002008/0.401, allocations: 11.56 kB / 394.5 MB, free: 47.67 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000347/0.4014, allocations: 36.5 kB / 394.5 MB, free: 47.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.4015, allocations: 47.84 kB / 394.6 MB, free: 47.63 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.4017, allocations: 13.98 kB / 394.6 MB, free: 47.63 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.405e-05/0.4018, allocations: 30.88 kB / 394.6 MB, free: 47.61 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.886e-05/0.4019, allocations: 26.41 kB / 394.6 MB, free: 47.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.4019, allocations: 2.25 kB / 394.6 MB, free: 47.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.805e-05/0.4019, allocations: 4.156 kB / 394.6 MB, free: 47.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.845e-05/0.402, allocations: 6.25 kB / 394.7 MB, free: 47.59 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.412e-05/0.4021, allocations: 31.2 kB / 394.7 MB, free: 47.57 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.4022, allocations: 45.7 kB / 394.7 MB, free: 47.55 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.4022, allocations: 0.6094 kB / 394.7 MB, free: 47.55 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.4022, allocations: 0 / 394.7 MB, free: 47.55 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.4022, allocations: 0 / 394.7 MB, free: 47.55 MB / 318.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.0004595/0.4027, allocations: 384.8 kB / 395.1 MB, free: 47.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.4028, allocations: 9 kB / 395.1 MB, free: 47.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.874e-05/0.4028, allocations: 10.36 kB / 395.1 MB, free: 47.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.403, allocations: 197 kB / 395.3 MB, free: 46.94 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.403, allocations: 5.438 kB / 395.3 MB, free: 46.94 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.403, allocations: 3.344 kB / 395.3 MB, free: 46.94 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003284/0.4034, allocations: 109.5 kB / 395.4 MB, free: 46.85 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.4034, allocations: 0 / 395.4 MB, free: 46.85 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.4034, allocations: 0.9375 kB / 395.4 MB, free: 46.85 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.4034, allocations: 0 / 395.4 MB, free: 46.85 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.874e-05/0.4035, allocations: 18.19 kB / 395.5 MB, free: 46.85 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003597/0.4039, allocations: 273.1 kB / 395.7 MB, free: 46.55 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.619e-05/0.404, allocations: 42.44 kB / 395.8 MB, free: 46.5 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.63e-05/0.4041, allocations: 21.25 kB / 395.8 MB, free: 46.48 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.4041, allocations: 1.125 kB / 395.8 MB, free: 46.48 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.4041, allocations: 36.58 kB / 395.8 MB, free: 46.44 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.4041, allocations: 4 kB / 395.8 MB, free: 46.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002547/0.4044, allocations: 63.33 kB / 395.9 MB, free: 46.39 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.4044, allocations: 78.88 kB / 396 MB, free: 46.3 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.4046, allocations: 140 kB / 396.1 MB, free: 46.19 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.4046, allocations: 27.11 kB / 396.1 MB, free: 46.16 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.741e-05/0.4047, allocations: 95 kB / 396.2 MB, free: 46.07 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.4047, allocations: 5.953 kB / 396.2 MB, free: 46.06 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-05/0.4048, allocations: 13.22 kB / 396.2 MB, free: 46.05 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.4049, allocations: 318.1 kB / 396.5 MB, free: 45.73 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.393e-05/0.4049, allocations: 7.047 kB / 396.6 MB, free: 45.73 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.086e-05/0.405, allocations: 21.8 kB / 396.6 MB, free: 45.71 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.962e-05/0.4051, allocations: 43.48 kB / 396.6 MB, free: 45.68 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4051, allocations: 0 / 396.6 MB, free: 45.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001289/0.4052, allocations: 59.59 kB / 396.7 MB, free: 45.63 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.4052, allocations: 6.219 kB / 396.7 MB, free: 45.63 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.4052, allocations: 1.062 kB / 396.7 MB, free: 45.63 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.4053, allocations: 1.094 kB / 396.7 MB, free: 45.63 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.059e-05/0.4054, allocations: 5.641 kB / 396.7 MB, free: 45.63 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.4054, allocations: 1.156 kB / 396.7 MB, free: 45.63 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.763e-05/0.4054, allocations: 7.297 kB / 396.7 MB, free: 45.63 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.4054, allocations: 1.219 kB / 396.7 MB, free: 45.63 MB / 318.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 0.0001047/0.4055, allocations: 126 kB / 396.8 MB, free: 45.5 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.092e-05/0.4056, allocations: 40.84 kB / 396.9 MB, free: 45.46 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.185e-05/0.4057, allocations: 16.5 kB / 396.9 MB, free: 45.45 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.4057, allocations: 5.109 kB / 396.9 MB, free: 45.45 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.4057, allocations: 1.094 kB / 396.9 MB, free: 45.45 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.4057, allocations: 0.7031 kB / 396.9 MB, free: 45.45 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.4059, allocations: 175.2 kB / 397.1 MB, free: 45.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4059, allocations: 0 / 397.1 MB, free: 45.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.713e-05/0.4059, allocations: 10.5 kB / 397.1 MB, free: 45.24 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4059, allocations: 1.312 kB / 397.1 MB, free: 45.24 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.406, allocations: 1.953 kB / 397.1 MB, free: 45.24 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.406, allocations: 0 / 397.1 MB, free: 45.24 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.406, allocations: 1.219 kB / 397.1 MB, free: 45.24 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001797/0.4062, allocations: 165.2 kB / 397.2 MB, free: 45.09 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.892e-05/0.4062, allocations: 88.5 kB / 397.3 MB, free: 44.99 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.4063, allocations: 2.125 kB / 397.3 MB, free: 44.99 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.543e-05/0.4063, allocations: 7.297 kB / 397.3 MB, free: 44.98 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.4064, allocations: 2.531 kB / 397.3 MB, free: 44.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.4064, allocations: 1.094 kB / 397.3 MB, free: 44.98 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.071e-05/0.4065, allocations: 107.2 kB / 397.4 MB, free: 44.9 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.312e-06/0.4065, allocations: 0 / 397.4 MB, free: 44.9 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002109/0.4067, allocations: 14 kB / 397.4 MB, free: 44.89 MB / 318.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.378e-05/0.4068, allocations: 96.16 kB / 397.5 MB, free: 44.8 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001451/0.407, allocations: 21.61 kB / 397.6 MB, free: 44.8 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.407, allocations: 0 / 397.6 MB, free: 44.8 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.623e-05/0.407, allocations: 9.344 kB / 397.6 MB, free: 44.8 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004643/0.4075, allocations: 22.02 kB / 397.6 MB, free: 44.79 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003895/0.4079, allocations: 184.5 kB / 397.8 MB, free: 44.62 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.4081, allocations: 0.6902 MB / 398.5 MB, free: 43.93 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.791e-05/0.4082, allocations: 10.8 kB / 398.5 MB, free: 43.92 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.184e-05/0.4082, allocations: 8.984 kB / 398.5 MB, free: 43.91 MB / 318.1 MB Notification: Performance of SimCode: time 2e-07/0.4082, allocations: 1.188 kB / 398.5 MB, free: 43.91 MB / 318.1 MB Notification: Performance of Templates: time 0.003027/0.4113, allocations: 0.4996 MB / 399 MB, free: 43.76 MB / 318.1 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/jenkins/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