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.001311/0.001311, allocations: 112.9 kB / 19.17 MB, free: 3.891 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.001365/0.001365, allocations: 210.5 kB / 22.13 MB, free: 0.9375 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.523/1.523, allocations: 230.4 MB / 255.4 MB, free: 9.062 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.00199/0.00199, allocations: 71.83 kB / 374.7 MB, free: 4.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2929, allocations: 53.31 MB / 428 MB, free: 8.066 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003851/0.2968, allocations: 1.899 MB / 429.9 MB, free: 6.156 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002411/0.2992, allocations: 1.313 MB / 431.3 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001548/0.2993, allocations: 4 kB / 431.3 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003633/0.2997, allocations: 71.66 kB / 431.3 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004006/0.3001, allocations: 135.4 kB / 431.5 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007598/0.3008, allocations: 233.7 kB / 431.7 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000278/0.3011, allocations: 183.5 kB / 431.9 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.3012, allocations: 21.55 kB / 431.9 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.3014, allocations: 71.69 kB / 432 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.3015, allocations: 87.61 kB / 432 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.3015, allocations: 8 kB / 432.1 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001727/0.3017, allocations: 75.94 kB / 432.1 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.3018, allocations: 51.78 kB / 432.2 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.3019, allocations: 83.41 kB / 432.3 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004064/0.3023, allocations: 244.3 kB / 432.5 MB, free: 3.598 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3023, allocations: 0 / 432.5 MB, free: 3.598 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3023, allocations: 0 / 432.5 MB, free: 3.598 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.3023, allocations: 0 / 432.5 MB, free: 3.598 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.0008762/0.3032, allocations: 0.5386 MB / 433 MB, free: 3.004 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3033, allocations: 8.031 kB / 433 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.448e-05/0.3033, allocations: 28.73 kB / 433.1 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004705/0.3038, allocations: 299.8 kB / 433.4 MB, free: 2.637 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.3038, allocations: 384 / 433.4 MB, free: 2.637 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.3038, allocations: 16.12 kB / 433.4 MB, free: 2.621 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003859/0.3042, allocations: 163.6 kB / 433.5 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.3042, allocations: 0 / 433.5 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.3042, allocations: 0 / 433.5 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.3042, allocations: 3.938 kB / 433.5 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.3044, allocations: 35.98 kB / 433.6 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000605/0.305, allocations: 386.3 kB / 434 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002728/0.3053, allocations: 111.9 kB / 434.1 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.3054, allocations: 54.5 kB / 434.1 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.3054, allocations: 0 / 434.1 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001833/0.3056, allocations: 79.31 kB / 434.2 MB, free: 1.672 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.3056, allocations: 0 / 434.2 MB, free: 1.672 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004339/0.306, allocations: 153.7 kB / 434.3 MB, free: 1.516 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/0.3061, allocations: 162.2 kB / 434.5 MB, free: 1.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003992/0.3065, allocations: 334.7 kB / 434.8 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.3065, allocations: 29.64 kB / 434.9 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.3067, allocations: 136.1 kB / 435 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/0.3067, allocations: 19.92 kB / 435 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.928e-05/0.3067, allocations: 29.7 kB / 435 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.3069, allocations: 342.8 kB / 435.4 MB, free: 420 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.761e-05/0.307, allocations: 23.98 kB / 435.4 MB, free: 396 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.3071, allocations: 86.78 kB / 435.5 MB, free: 284 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.3073, allocations: 88.47 kB / 435.6 MB, free: 180 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.3073, allocations: 0 / 435.6 MB, free: 180 kB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002503/0.3076, allocations: 129.4 kB / 435.7 MB, free: 44 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.3076, allocations: 8 kB / 435.7 MB, free: 36 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.3076, allocations: 0 / 435.7 MB, free: 36 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.3076, allocations: 0 / 435.7 MB, free: 36 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.3077, allocations: 24.11 kB / 435.7 MB, free: 12 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.3077, allocations: 0 / 435.7 MB, free: 12 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.85e-05/0.3078, allocations: 11.94 kB / 435.7 MB, free: 0 / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.3078, allocations: 4.047 kB / 435.7 MB, free: 15.99 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.0001577/0.308, allocations: 153.7 kB / 435.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.3081, allocations: 77.44 kB / 436 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.979e-05/0.3081, allocations: 25.7 kB / 436 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.3082, allocations: 4.062 kB / 436 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.3082, allocations: 4 kB / 436 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.3082, allocations: 3.938 kB / 436 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/0.3084, allocations: 245.5 kB / 436.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3084, allocations: 0 / 436.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.666e-05/0.3085, allocations: 15.94 kB / 436.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3085, allocations: 0 / 436.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.3085, allocations: 7.984 kB / 436.3 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3085, allocations: 0 / 436.3 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3085, allocations: 0 / 436.3 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003/0.3088, allocations: 170.5 kB / 436.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.3089, allocations: 113 kB / 436.5 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.309, allocations: 0 / 436.5 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.175e-05/0.309, allocations: 12.09 kB / 436.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.971e-05/0.3091, allocations: 15.97 kB / 436.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.3091, allocations: 7.938 kB / 436.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002827/0.3094, allocations: 254 kB / 436.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3094, allocations: 3.938 kB / 436.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002756/0.3097, allocations: 35.92 kB / 436.9 MB, free: 14.76 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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * 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.00156/0.3112, allocations: 423.6 kB / 437.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002536/0.3115, allocations: 71.89 kB / 437.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3115, allocations: 256 / 437.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.593e-05/0.3116, allocations: 27.98 kB / 437.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004447/0.312, allocations: 63.89 kB / 437.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007534/0.3128, allocations: 402.5 kB / 437.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004223/0.3132, allocations: 0.7477 MB / 438.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.122e-05/0.3133, allocations: 23.44 kB / 438.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3133, allocations: 0 / 438.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of Templates: time 0.005915/0.3192, allocations: 2.965 MB / 441.6 MB, free: 10.16 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.4905494609847665]