Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 107.6 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 205.1 kB / 24.48 MB, free: 3.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.489/1.489, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002273, allocations: 51.92 kB / 379 MB, free: 2.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.3004, allocations: 53.36 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003832/0.3043, allocations: 1.874 MB / 434.2 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002455/0.3067, allocations: 1.239 MB / 435.4 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00016/0.3069, allocations: 4 kB / 435.4 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003086/0.3072, allocations: 67.61 kB / 435.5 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004097/0.3076, allocations: 131.5 kB / 435.6 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007069/0.3083, allocations: 242.5 kB / 435.9 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002637/0.3086, allocations: 179.5 kB / 436 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.3087, allocations: 25.39 kB / 436.1 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.3088, allocations: 79.64 kB / 436.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.3089, allocations: 87.66 kB / 436.2 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.309, allocations: 8 kB / 436.2 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001648/0.3091, allocations: 71.89 kB / 436.3 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.94e-05/0.3092, allocations: 55.83 kB / 436.4 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.993e-05/0.3093, allocations: 59.55 kB / 436.4 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003701/0.3097, allocations: 242 kB / 436.7 MB, free: 2.379 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3097, allocations: 3.938 kB / 436.7 MB, free: 2.375 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3097, allocations: 0 / 436.7 MB, free: 2.375 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.3097, allocations: 4 kB / 436.7 MB, free: 2.371 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007352/0.3104, allocations: 474.5 kB / 437.1 MB, free: 1.871 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.3105, allocations: 11.97 kB / 437.1 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.345e-05/0.3105, allocations: 24.8 kB / 437.2 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004349/0.311, allocations: 229.5 kB / 437.4 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.311, allocations: 12.38 kB / 437.4 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.311, allocations: 8.125 kB / 437.4 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003639/0.3114, allocations: 180.4 kB / 437.6 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.3114, allocations: 4 kB / 437.6 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.3114, allocations: 0 / 437.6 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.3114, allocations: 0 / 437.6 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.3115, allocations: 43.91 kB / 437.6 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005069/0.312, allocations: 322.1 kB / 437.9 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002555/0.3123, allocations: 115.9 kB / 438.1 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.198e-05/0.3124, allocations: 46.55 kB / 438.1 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.3124, allocations: 0 / 438.1 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001764/0.3126, allocations: 83.31 kB / 438.2 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.3126, allocations: 0 / 438.2 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003896/0.3129, allocations: 153.7 kB / 438.3 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.3131, allocations: 144.4 kB / 438.5 MB, free: 352 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000437/0.3135, allocations: 333.9 kB / 438.8 MB, free: 12 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.014e-05/0.3135, allocations: 29.7 kB / 438.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.754e-05/0.3136, allocations: 132.1 kB / 439 MB, free: 15.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.3137, allocations: 23.78 kB / 439 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-05/0.3137, allocations: 29.7 kB / 439 MB, free: 15.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.3139, allocations: 342.7 kB / 439.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.215e-05/0.3139, allocations: 23.98 kB / 439.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.3141, allocations: 133.4 kB / 439.5 MB, free: 15.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.3143, allocations: 96.23 kB / 439.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3143, allocations: 0 / 439.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002408/0.3145, allocations: 125.4 kB / 439.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.3145, allocations: 4 kB / 439.7 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.3145, allocations: 320 / 439.7 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.3145, allocations: 4.125 kB / 439.7 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.3146, allocations: 23.98 kB / 439.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.3147, allocations: 7.938 kB / 439.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.798e-05/0.3147, allocations: 8 kB / 439.8 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.3147, allocations: 4 kB / 439.8 MB, free: 14.96 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001508/0.3149, allocations: 162.5 kB / 439.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.162e-05/0.315, allocations: 69.45 kB / 440 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002853/0.3153, allocations: 127.4 kB / 440.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.3153, allocations: 8.062 kB / 440.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3153, allocations: 0 / 440.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.3153, allocations: 7.969 kB / 440.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.3155, allocations: 177.1 kB / 440.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3155, allocations: 0 / 440.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.272e-05/0.3156, allocations: 19.92 kB / 440.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.3156, allocations: 0 / 440.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.3156, allocations: 8 kB / 440.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3156, allocations: 0 / 440.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3156, allocations: 0 / 440.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002891/0.3159, allocations: 174.5 kB / 440.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.547e-05/0.316, allocations: 43.83 kB / 440.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.41e-05/0.316, allocations: 4 kB / 440.6 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.461e-05/0.3161, allocations: 4 kB / 440.6 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.231e-05/0.3161, allocations: 11.92 kB / 440.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.3161, allocations: 8 kB / 440.6 MB, free: 14.08 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002574/0.3164, allocations: 249.2 kB / 440.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3164, allocations: 0 / 440.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002714/0.3167, allocations: 32.03 kB / 440.9 MB, free: 13.8 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00167/0.3183, allocations: 462.5 kB / 441.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003242/0.3187, allocations: 79.77 kB / 441.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3187, allocations: 0 / 441.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.636e-05/0.3187, allocations: 31.98 kB / 441.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000442/0.3192, allocations: 69.39 kB / 441.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007588/0.3199, allocations: 406.6 kB / 441.9 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/0.3201, allocations: 136.4 kB / 442 MB, free: 12.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.978e-05/0.3202, allocations: 19.44 kB / 442 MB, free: 12.75 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3202, allocations: 0 / 442 MB, free: 12.75 MB / 350.1 MB Notification: Performance of Templates: time 0.005602/0.3258, allocations: 3.02 MB / 445.1 MB, free: 9.73 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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: 7.491396047989838]