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.0009827/0.0009827, allocations: 177.6 kB / 8.048 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.395/1.395, allocations: 205.3 MB / 213.8 MB, free: 1.754 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008101/0.0008101, allocations: 98.25 kB / 261.8 MB, free: 1.688 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.08146/0.08146, allocations: 12.6 MB / 322.3 MB, free: 15.21 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.408e-05/1.41e-05, allocations: 4 kB / 378.9 MB, free: 6.531 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.2391, allocations: 50.38 MB / 429.3 MB, free: 18.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1005/0.3397, allocations: 77.59 MB / 0.495 GB, free: 4.656 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/0.34, allocations: 75.95 kB / 0.4951 GB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005278/0.3453, allocations: 1.969 MB / 0.497 GB, free: 2.613 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3453, allocations: 4 kB / 0.497 GB, free: 2.609 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.417e-06/0.3453, allocations: 0 / 0.497 GB, free: 2.609 MB / 346.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.0003575/0.3457, allocations: 346.4 kB / 0.4973 GB, free: 2.227 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.3457, allocations: 12.03 kB / 0.4974 GB, free: 2.215 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.3458, allocations: 7.906 kB / 0.4974 GB, free: 2.207 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.346, allocations: 195.8 kB / 0.4975 GB, free: 1.977 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.346, allocations: 0 / 0.4975 GB, free: 1.977 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.346, allocations: 4 kB / 0.4976 GB, free: 1.973 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.198e-05/0.3461, allocations: 24 kB / 0.4976 GB, free: 1.949 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.3463, allocations: 85.05 kB / 0.4977 GB, free: 1.848 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.3463, allocations: 4 kB / 0.4977 GB, free: 1.844 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.3464, allocations: 0 / 0.4977 GB, free: 1.844 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.3464, allocations: 0 / 0.4977 GB, free: 1.844 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003371/0.3467, allocations: 254.2 kB / 0.4979 GB, free: 1.555 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.529e-05/0.3468, allocations: 41.16 kB / 0.4979 GB, free: 1.496 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.441e-05/0.3468, allocations: 13.78 kB / 0.498 GB, free: 1.477 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.3468, allocations: 3.984 kB / 0.498 GB, free: 1.473 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.3469, allocations: 34.56 kB / 0.498 GB, free: 1.43 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.083e-06/0.3469, allocations: 0 / 0.498 GB, free: 1.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.000147/0.347, allocations: 49.62 kB / 0.498 GB, free: 1.375 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.3471, allocations: 81.05 kB / 0.4981 GB, free: 1.277 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.3472, allocations: 123.7 kB / 0.4982 GB, free: 1.148 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.3472, allocations: 25.7 kB / 0.4983 GB, free: 1.117 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.532e-05/0.3473, allocations: 100.1 kB / 0.4984 GB, free: 1.016 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.213e-05/0.3473, allocations: 0 / 0.4984 GB, free: 1.016 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-06/0.3473, allocations: 0 / 0.4984 GB, free: 1.016 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.3474, allocations: 318.8 kB / 0.4987 GB, free: 0.6953 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.299e-05/0.3474, allocations: 4 kB / 0.4987 GB, free: 0.6914 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.045e-05/0.3474, allocations: 17.7 kB / 0.4987 GB, free: 0.668 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.935e-05/0.3475, allocations: 4 kB / 0.4987 GB, free: 0.6641 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3475, allocations: 8 kB / 0.4987 GB, free: 0.6562 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.778e-05/0.3476, allocations: 45.55 kB / 0.4987 GB, free: 0.6055 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.3476, allocations: 4 kB / 0.4987 GB, free: 0.6016 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.3476, allocations: 4 kB / 0.4987 GB, free: 0.5977 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.3476, allocations: 0 / 0.4987 GB, free: 0.5977 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.195e-05/0.3477, allocations: 7.984 kB / 0.4987 GB, free: 0.5898 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.3477, allocations: 0 / 0.4987 GB, free: 0.5898 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.9e-05/0.3477, allocations: 13.22 kB / 0.4988 GB, free: 0.5781 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-06/0.3477, allocations: 4.062 kB / 0.4988 GB, free: 0.5742 MB / 346.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.691e-05/0.3478, allocations: 112.9 kB / 0.4989 GB, free: 468 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.158e-05/0.3479, allocations: 37.62 kB / 0.4989 GB, free: 424 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.955e-05/0.3479, allocations: 7.969 kB / 0.4989 GB, free: 416 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.3479, allocations: 0 / 0.4989 GB, free: 416 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3479, allocations: 0 / 0.4989 GB, free: 416 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.555e-06/0.3479, allocations: 4 kB / 0.4989 GB, free: 412 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.3481, allocations: 150.1 kB / 0.4991 GB, free: 224 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3481, allocations: 3.953 kB / 0.4991 GB, free: 220 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.265e-05/0.3481, allocations: 12.02 kB / 0.4991 GB, free: 208 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3482, allocations: 4 kB / 0.4991 GB, free: 204 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.3482, allocations: 0 / 0.4991 GB, free: 204 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3482, allocations: 0 / 0.4991 GB, free: 204 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.3482, allocations: 0 / 0.4991 GB, free: 204 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.3483, allocations: 162.1 kB / 0.4992 GB, free: 16 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.715e-05/0.3484, allocations: 92.94 kB / 0.4993 GB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.3484, allocations: 4 kB / 0.4993 GB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.293e-05/0.3485, allocations: 0 / 0.4993 GB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.403e-05/0.3485, allocations: 7.984 kB / 0.4993 GB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.3485, allocations: 0 / 0.4993 GB, free: 15.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.943e-05/0.3486, allocations: 108 kB / 0.4994 GB, free: 15.79 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3486, allocations: 0 / 0.4994 GB, free: 15.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000207/0.3488, allocations: 4 kB / 0.4994 GB, free: 15.79 MB / 362.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001082/0.3489, allocations: 95.28 kB / 0.4995 GB, free: 15.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.466e-05/0.349, allocations: 15.92 kB / 0.4996 GB, free: 15.67 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.349, allocations: 0 / 0.4996 GB, free: 15.67 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.724e-05/0.349, allocations: 8 kB / 0.4996 GB, free: 15.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.3493, allocations: 19.23 kB / 0.4996 GB, free: 15.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002216/0.3495, allocations: 92.91 kB / 0.4997 GB, free: 15.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.3497, allocations: 0.6965 MB / 0.5003 GB, free: 14.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.961e-05/0.3498, allocations: 3.984 kB / 0.5003 GB, free: 14.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.304e-05/0.3498, allocations: 11.44 kB / 0.5004 GB, free: 14.79 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3498, allocations: 0 / 0.5004 GB, free: 14.79 MB / 362.7 MB Notification: Performance of Templates: time 0.002178/0.352, allocations: 432 kB / 0.5008 GB, free: 14.36 MB / 362.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/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