Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001415/0.001415, allocations: 117 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001596/0.001596, allocations: 209.3 kB / 24.47 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.445/1.445, allocations: 230.4 MB / 258.1 MB, free: 8.129 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-beta.om/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.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 67.84 kB / 378.7 MB, free: 2.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2825, allocations: 53.31 MB / 432 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003819/0.2863, allocations: 1.923 MB / 434 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002439/0.2888, allocations: 1.321 MB / 435.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001594/0.2889, allocations: 0 / 435.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003601/0.2893, allocations: 71.66 kB / 435.4 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004045/0.2897, allocations: 131.4 kB / 435.5 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007871/0.2905, allocations: 233.5 kB / 435.7 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002818/0.2908, allocations: 183.4 kB / 435.9 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.2909, allocations: 17.56 kB / 435.9 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.291, allocations: 79.69 kB / 436 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.2912, allocations: 87.59 kB / 436.1 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.2912, allocations: 12 kB / 436.1 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00019/0.2914, allocations: 67.95 kB / 436.1 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.628e-05/0.2915, allocations: 55.77 kB / 436.2 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.046e-05/0.2916, allocations: 71.42 kB / 436.3 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003966/0.292, allocations: 244.4 kB / 436.5 MB, free: 2.852 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.292, allocations: 4 kB / 436.5 MB, free: 2.848 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.292, allocations: 3.938 kB / 436.5 MB, free: 2.844 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.292, allocations: 0 / 436.5 MB, free: 2.844 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.0008736/0.2929, allocations: 0.5503 MB / 437.1 MB, free: 2.238 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.2929, allocations: 8.031 kB / 437.1 MB, free: 2.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.143e-05/0.293, allocations: 24.8 kB / 437.1 MB, free: 2.207 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000481/0.2935, allocations: 287.8 kB / 437.4 MB, free: 1.887 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.2935, allocations: 12.38 kB / 437.4 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.2935, allocations: 8.125 kB / 437.4 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003832/0.2939, allocations: 155.6 kB / 437.6 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.2939, allocations: 4 kB / 437.6 MB, free: 1.684 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.2939, allocations: 4 kB / 437.6 MB, free: 1.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.2939, allocations: 4 kB / 437.6 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.294, allocations: 35.91 kB / 437.6 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006133/0.2946, allocations: 390.3 kB / 438 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002801/0.2949, allocations: 111.9 kB / 438.1 MB, free: 1.066 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.32e-05/0.295, allocations: 42.56 kB / 438.1 MB, free: 1.016 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.205e-05/0.295, allocations: 7.984 kB / 438.1 MB, free: 1.008 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001824/0.2952, allocations: 83.33 kB / 438.2 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.2952, allocations: 3.938 kB / 438.2 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.000418/0.2957, allocations: 153.4 kB / 438.4 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/0.2958, allocations: 158.2 kB / 438.5 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003825/0.2962, allocations: 338.9 kB / 438.9 MB, free: 232 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/0.2962, allocations: 33.7 kB / 438.9 MB, free: 192 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.2963, allocations: 124.1 kB / 439 MB, free: 64 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/0.2963, allocations: 23.83 kB / 439 MB, free: 40 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.218e-05/0.2964, allocations: 29.72 kB / 439.1 MB, free: 4 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.2966, allocations: 334.8 kB / 439.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.257e-05/0.2966, allocations: 23.98 kB / 439.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.2968, allocations: 94.78 kB / 439.5 MB, free: 15.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.297, allocations: 84.22 kB / 439.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.297, allocations: 4 kB / 439.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000241/0.2972, allocations: 125.4 kB / 439.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.2972, allocations: 4 kB / 439.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.2972, allocations: 0 / 439.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.2972, allocations: 4 kB / 439.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.2974, allocations: 23.98 kB / 439.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.2974, allocations: 0 / 439.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.605e-05/0.2974, allocations: 8.062 kB / 439.8 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.2975, allocations: 8 kB / 439.8 MB, free: 15.25 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.0001593/0.2976, allocations: 162.2 kB / 439.9 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.2977, allocations: 65.52 kB / 440 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002797/0.298, allocations: 119.7 kB / 440.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.298, allocations: 11.94 kB / 440.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.298, allocations: 3.938 kB / 440.1 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.298, allocations: 4 kB / 440.1 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002611/0.2983, allocations: 249.6 kB / 440.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.227e-06/0.2983, allocations: 4 kB / 440.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.477e-05/0.2983, allocations: 12 kB / 440.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2984, allocations: 0 / 440.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.2984, allocations: 7.984 kB / 440.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.2984, allocations: 0 / 440.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2984, allocations: 0 / 440.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002825/0.2987, allocations: 170.6 kB / 440.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.2988, allocations: 112.9 kB / 440.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/0.2988, allocations: 8 kB / 440.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.525e-05/0.2989, allocations: 3.984 kB / 440.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.942e-05/0.2989, allocations: 8 kB / 440.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.186e-05/0.2989, allocations: 15.86 kB / 440.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002616/0.2992, allocations: 245.9 kB / 440.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2992, allocations: 0 / 440.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000271/0.2995, allocations: 43.92 kB / 441 MB, free: 13.91 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 (9): * Single equations (assignments): 7 * 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.001517/0.301, allocations: 429.4 kB / 441.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002628/0.3013, allocations: 67.89 kB / 441.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3013, allocations: 4 kB / 441.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.772e-05/0.3014, allocations: 31.91 kB / 441.5 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000451/0.3018, allocations: 65.02 kB / 441.6 MB, free: 13.49 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007124/0.3025, allocations: 406.5 kB / 442 MB, free: 13.06 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004129/0.3029, allocations: 0.7475 MB / 442.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.441e-05/0.303, allocations: 23.62 kB / 442.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of SimCode: time 7.51e-07/0.303, allocations: 0 / 442.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of Templates: time 0.005854/0.3088, allocations: 2.973 MB / 445.7 MB, free: 9.305 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.579171223100275]