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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 182.4 kB / 23.7 MB, free: 4.414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] 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=5021,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=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002251/0.002251, allocations: 47.92 kB / 370.9 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.3011, allocations: 52.18 MB / 423.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002998/0.3041, allocations: 1.568 MB / 424.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008631/0.305, allocations: 466.8 kB / 425.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.191e-05/0.305, allocations: 7.938 kB / 425.1 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.386e-05/0.3051, allocations: 7.922 kB / 425.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.3052, allocations: 3.938 kB / 425.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000259/0.3055, allocations: 55.77 kB / 425.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.3056, allocations: 47.89 kB / 425.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.803e-05/0.3056, allocations: 8 kB / 425.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.907e-05/0.3057, allocations: 23.86 kB / 425.2 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.607e-05/0.3058, allocations: 23.86 kB / 425.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.3058, allocations: 3.938 kB / 425.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.552e-05/0.3058, allocations: 4 kB / 425.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.24e-05/0.3059, allocations: 23.91 kB / 425.3 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.084e-05/0.3059, allocations: 15.88 kB / 425.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.306, allocations: 59.39 kB / 425.4 MB, free: 12.15 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.306, allocations: 0 / 425.4 MB, free: 12.15 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.306, allocations: 0 / 425.4 MB, free: 12.15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.411e-06/0.306, allocations: 8 kB / 425.4 MB, free: 12.14 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.0004851/0.3065, allocations: 296.5 kB / 425.7 MB, free: 11.83 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.3065, allocations: 12.03 kB / 425.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.813e-05/0.3066, allocations: 8.891 kB / 425.7 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.3068, allocations: 142.3 kB / 425.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/0.3068, allocations: 384 / 425.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.3068, allocations: 4.375 kB / 425.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002759/0.3071, allocations: 117.3 kB / 425.9 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.3071, allocations: 0 / 425.9 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.3071, allocations: 0 / 425.9 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.3071, allocations: 3.984 kB / 425.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.67e-05/0.3072, allocations: 19.98 kB / 426 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002821/0.3075, allocations: 213.3 kB / 426.2 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.3076, allocations: 45.16 kB / 426.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.716e-05/0.3077, allocations: 21.77 kB / 426.2 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.3077, allocations: 4 kB / 426.2 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.204e-05/0.3077, allocations: 38.5 kB / 426.3 MB, free: 11.1 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3077, allocations: 0 / 426.3 MB, free: 11.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002515/0.308, allocations: 65.61 kB / 426.3 MB, free: 11.03 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/0.308, allocations: 77.11 kB / 426.4 MB, free: 10.94 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.3082, allocations: 140.7 kB / 426.5 MB, free: 10.79 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.3082, allocations: 25.7 kB / 426.6 MB, free: 10.76 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.926e-05/0.3083, allocations: 96.38 kB / 426.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.298e-05/0.3083, allocations: 4 kB / 426.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.3083, allocations: 17.67 kB / 426.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3085, allocations: 322.8 kB / 427 MB, free: 10.31 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.968e-05/0.3085, allocations: 4 kB / 427 MB, free: 10.3 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.108e-05/0.3086, allocations: 17.7 kB / 427 MB, free: 10.28 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.072e-05/0.3086, allocations: 33.64 kB / 427.1 MB, free: 10.24 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.3086, allocations: 0 / 427.1 MB, free: 10.24 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001181/0.3088, allocations: 57.69 kB / 427.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.3088, allocations: 8 kB / 427.1 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.3088, allocations: 0 / 427.1 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.3088, allocations: 0 / 427.1 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.982e-05/0.3089, allocations: 7.938 kB / 427.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.3089, allocations: 7.922 kB / 427.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.697e-05/0.3089, allocations: 4 kB / 427.1 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.3089, allocations: 0 / 427.1 MB, free: 10.15 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 9.896e-05/0.309, allocations: 121.8 kB / 427.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.65e-05/0.3091, allocations: 45.64 kB / 427.3 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.081e-05/0.3091, allocations: 7.812 kB / 427.3 MB, free: 9.965 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3091, allocations: 0 / 427.3 MB, free: 9.965 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3091, allocations: 0 / 427.3 MB, free: 9.965 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.3091, allocations: 7.938 kB / 427.3 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.3093, allocations: 121.3 kB / 427.4 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3093, allocations: 3.938 kB / 427.4 MB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.28e-05/0.3093, allocations: 4 kB / 427.4 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3093, allocations: 0 / 427.4 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.3093, allocations: 8.031 kB / 427.5 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.3093, allocations: 3.938 kB / 427.5 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3093, allocations: 0 / 427.5 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.3095, allocations: 160.3 kB / 427.6 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.103e-05/0.3096, allocations: 19.81 kB / 427.6 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.3096, allocations: 4 kB / 427.6 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.655e-05/0.3096, allocations: 0 / 427.6 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.723e-05/0.3097, allocations: 0 / 427.6 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.3097, allocations: 4 kB / 427.6 MB, free: 9.586 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.388e-05/0.3098, allocations: 111.2 kB / 427.7 MB, free: 9.477 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3098, allocations: 4.031 kB / 427.8 MB, free: 9.473 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002283/0.31, allocations: 4 kB / 427.8 MB, free: 9.469 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.0001019/0.3101, allocations: 95.25 kB / 427.9 MB, free: 9.367 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001321/0.3102, allocations: 23.92 kB / 427.9 MB, free: 9.344 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3102, allocations: 0 / 427.9 MB, free: 9.344 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.115e-05/0.3103, allocations: 11.98 kB / 427.9 MB, free: 9.332 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.3106, allocations: 23.67 kB / 427.9 MB, free: 9.312 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000322/0.3109, allocations: 163.7 kB / 428.1 MB, free: 9.121 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.944e-05/0.311, allocations: 79.12 kB / 428.1 MB, free: 9.023 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.929e-05/0.311, allocations: 4 kB / 428.1 MB, free: 9.02 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.767e-05/0.311, allocations: 11.42 kB / 428.2 MB, free: 9.008 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.311, allocations: 0 / 428.2 MB, free: 9.008 MB / 334.1 MB Notification: Performance of Templates: time 0.00299/0.314, allocations: 0.5929 MB / 428.8 MB, free: 8.43 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.684055199846625]