Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001261/0.001261, allocations: 117.6 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001402/0.001402, allocations: 199.9 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 63.89 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3247, allocations: 50.53 MB / 409.2 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.003926/0.3286, allocations: 1.573 MB / 410.8 MB, free: 36 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.3299, allocations: 0.5259 MB / 411.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.3301, allocations: 0 / 411.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.94e-05/0.3302, allocations: 3.938 kB / 411.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002014/0.3304, allocations: 19.86 kB / 411.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005854/0.331, allocations: 55.83 kB / 411.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.3312, allocations: 47.83 kB / 411.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.3313, allocations: 12.19 kB / 411.5 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.3315, allocations: 31.86 kB / 411.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.576e-05/0.3316, allocations: 19.86 kB / 411.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.3316, allocations: 7.984 kB / 411.5 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.663e-05/0.3317, allocations: 8 kB / 411.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.133e-05/0.3318, allocations: 15.92 kB / 411.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.992e-05/0.3318, allocations: 27.81 kB / 411.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.332, allocations: 63.73 kB / 411.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.358e-06/0.332, allocations: 0 / 411.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.3321, allocations: 0 / 411.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.3321, allocations: 0 / 411.6 MB, free: 15.2 MB / 334.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.0006568/0.3327, allocations: 368.3 kB / 412 MB, free: 14.79 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.433e-05/0.3328, allocations: 15.95 kB / 412 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002693/0.3331, allocations: 16.84 kB / 412 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004186/0.3335, allocations: 204.1 kB / 412.2 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.3335, allocations: 384 / 412.2 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.3336, allocations: 4.375 kB / 412.2 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003534/0.3339, allocations: 117.1 kB / 412.3 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.3339, allocations: 0 / 412.3 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.334, allocations: 0 / 412.3 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.334, allocations: 3.938 kB / 412.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.627e-05/0.3341, allocations: 23.92 kB / 412.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000484/0.3346, allocations: 261.7 kB / 412.6 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.3347, allocations: 49.2 kB / 412.7 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.861e-05/0.3347, allocations: 29.64 kB / 412.7 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.3348, allocations: 0 / 412.7 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.3348, allocations: 30.56 kB / 412.7 MB, free: 13.91 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.473e-06/0.3348, allocations: 8 kB / 412.7 MB, free: 13.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002954/0.3351, allocations: 61.61 kB / 412.8 MB, free: 13.83 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/0.3352, allocations: 77.11 kB / 412.9 MB, free: 13.74 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.3354, allocations: 144.2 kB / 413 MB, free: 13.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.3354, allocations: 25.7 kB / 413 MB, free: 13.56 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.131e-05/0.3355, allocations: 100 kB / 413.1 MB, free: 13.46 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/0.3355, allocations: 256 / 413.1 MB, free: 13.46 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-05/0.3356, allocations: 21.72 kB / 413.2 MB, free: 13.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.3357, allocations: 314.8 kB / 413.5 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.299e-05/0.3358, allocations: 11.98 kB / 413.5 MB, free: 13.1 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.119e-05/0.3358, allocations: 21.7 kB / 413.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.961e-05/0.3359, allocations: 29.72 kB / 413.5 MB, free: 13.04 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.3359, allocations: 4 kB / 413.5 MB, free: 13.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001338/0.3361, allocations: 61.52 kB / 413.6 MB, free: 12.97 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.3361, allocations: 4 kB / 413.6 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.3361, allocations: 0 / 413.6 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.3361, allocations: 0 / 413.6 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.772e-05/0.3362, allocations: 8 kB / 413.6 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.3362, allocations: 0 / 413.6 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.841e-05/0.3363, allocations: 8.047 kB / 413.6 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.3363, allocations: 4 kB / 413.6 MB, free: 12.95 MB / 334.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.0001254/0.3364, allocations: 125.7 kB / 413.7 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.302e-05/0.3365, allocations: 41.58 kB / 413.8 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.136e-05/0.3366, allocations: 15.83 kB / 413.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.3366, allocations: 4 kB / 413.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.902e-06/0.3366, allocations: 7.938 kB / 413.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3366, allocations: 0 / 413.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.3368, allocations: 169.6 kB / 414 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.3368, allocations: 4.031 kB / 414 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.997e-05/0.3369, allocations: 15.92 kB / 414 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.3369, allocations: 0 / 414 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.3369, allocations: 0 / 414 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3369, allocations: 0 / 414 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3369, allocations: 0 / 414 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.3371, allocations: 160.2 kB / 414.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.221e-05/0.3372, allocations: 93 kB / 414.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.3372, allocations: 3.984 kB / 414.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.272e-05/0.3373, allocations: 4 kB / 414.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-05/0.3374, allocations: 3.938 kB / 414.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.3374, allocations: 7.938 kB / 414.3 MB, free: 12.19 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.953e-05/0.3375, allocations: 109.5 kB / 414.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3375, allocations: 0 / 414.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00024/0.3377, allocations: 8 kB / 414.4 MB, free: 12.08 MB / 334.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 0.0001318/0.3379, allocations: 99.28 kB / 414.5 MB, free: 11.97 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001526/0.3381, allocations: 19.98 kB / 414.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.3381, allocations: 0 / 414.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4e-05/0.3381, allocations: 15.92 kB / 414.5 MB, free: 11.94 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.3384, allocations: 15.97 kB / 414.5 MB, free: 11.92 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003557/0.3388, allocations: 155.9 kB / 414.7 MB, free: 11.74 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.3391, allocations: 0.6919 MB / 415.4 MB, free: 11.03 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.55e-05/0.3392, allocations: 4 kB / 415.4 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.026e-05/0.3392, allocations: 11.42 kB / 415.4 MB, free: 11.01 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3392, allocations: 4 kB / 415.4 MB, free: 11.01 MB / 334.1 MB Notification: Performance of Templates: time 0.003491/0.3427, allocations: 0.5319 MB / 415.9 MB, free: 10.48 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches