Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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.001299/0.001299, allocations: 113 kB / 21.18 MB, free: 0.5898 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.001484/0.001484, allocations: 209.7 kB / 24.47 MB, free: 3.996 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.433/1.433, allocations: 230.4 MB / 258.1 MB, free: 8.148 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.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") [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.001959/0.001959, allocations: 75.81 kB / 378.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.3011, allocations: 53.31 MB / 432 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003704/0.3048, allocations: 1.935 MB / 434 MB, free: 5.449 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002165/0.307, allocations: 1.216 MB / 435.2 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.3071, allocations: 4 kB / 435.2 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006529/0.3078, allocations: 151.5 kB / 435.3 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004281/0.3082, allocations: 159.4 kB / 435.5 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004795/0.3087, allocations: 163.5 kB / 435.7 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002734/0.3089, allocations: 187.5 kB / 435.8 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.3091, allocations: 21.55 kB / 435.9 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.3092, allocations: 75.69 kB / 435.9 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.3093, allocations: 83.56 kB / 436 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.3093, allocations: 11.98 kB / 436 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.3095, allocations: 55.97 kB / 436.1 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.349e-05/0.3096, allocations: 43.84 kB / 436.1 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.344e-05/0.3097, allocations: 79.47 kB / 436.2 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003647/0.31, allocations: 209.1 kB / 436.4 MB, free: 3.012 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.31, allocations: 0 / 436.4 MB, free: 3.012 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.31, allocations: 0 / 436.4 MB, free: 3.012 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.31, allocations: 0 / 436.4 MB, free: 3.012 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.0008791/0.3109, allocations: 0.5155 MB / 436.9 MB, free: 2.441 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.311, allocations: 11.97 kB / 436.9 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.313e-05/0.311, allocations: 20.8 kB / 437 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004327/0.3115, allocations: 283 kB / 437.2 MB, free: 2.094 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.3115, allocations: 4.375 kB / 437.2 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.3115, allocations: 8.125 kB / 437.2 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003483/0.3119, allocations: 152.8 kB / 437.4 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3119, allocations: 3.938 kB / 437.4 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.673e-05/0.3119, allocations: 8 kB / 437.4 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.3119, allocations: 0 / 437.4 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/0.312, allocations: 35.91 kB / 437.4 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000541/0.3125, allocations: 362.4 kB / 437.8 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/0.3128, allocations: 103.9 kB / 437.9 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.299e-05/0.3129, allocations: 42.56 kB / 437.9 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.3129, allocations: 4.078 kB / 437.9 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.3131, allocations: 79.36 kB / 438 MB, free: 1.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.3131, allocations: 0 / 438 MB, free: 1.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003758/0.3135, allocations: 149.4 kB / 438.2 MB, free: 1.027 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.3136, allocations: 136.8 kB / 438.3 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003234/0.3139, allocations: 272.9 kB / 438.6 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.3139, allocations: 29.7 kB / 438.6 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.314, allocations: 116.1 kB / 438.7 MB, free: 448 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.314, allocations: 15.89 kB / 438.7 MB, free: 432 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.815e-05/0.3141, allocations: 37.66 kB / 438.8 MB, free: 388 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3143, allocations: 330.8 kB / 439.1 MB, free: 48 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.206e-05/0.3143, allocations: 23.98 kB / 439.1 MB, free: 24 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.3145, allocations: 69.94 kB / 439.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.3146, allocations: 76.25 kB / 439.2 MB, free: 15.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3146, allocations: 4 kB / 439.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002196/0.3148, allocations: 109.5 kB / 439.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.3148, allocations: 4 kB / 439.4 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.3148, allocations: 4 kB / 439.4 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.3149, allocations: 0 / 439.4 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.975e-05/0.3149, allocations: 15.94 kB / 439.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.3149, allocations: 4.125 kB / 439.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.31e-05/0.315, allocations: 19.86 kB / 439.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.315, allocations: 4 kB / 439.4 MB, free: 15.68 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,sample1.u,subSample1.y,subSample1.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.0001455/0.3152, allocations: 142.3 kB / 439.5 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.632e-05/0.3153, allocations: 65.5 kB / 439.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/0.3155, allocations: 111.6 kB / 439.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3155, allocations: 0 / 439.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.3155, allocations: 12.12 kB / 439.7 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.3155, allocations: 3.938 kB / 439.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002313/0.3157, allocations: 225.5 kB / 440 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.3157, allocations: 4 kB / 440 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.512e-05/0.3158, allocations: 4 kB / 440 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3158, allocations: 0 / 440 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.3158, allocations: 0 / 440 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.3158, allocations: 7.984 kB / 440 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3158, allocations: 3.938 kB / 440 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.3161, allocations: 158.6 kB / 440.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.3162, allocations: 105 kB / 440.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.247e-05/0.3162, allocations: 7.984 kB / 440.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.928e-05/0.3162, allocations: 4 kB / 440.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.529e-05/0.3163, allocations: 4 kB / 440.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.3163, allocations: 15.92 kB / 440.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002135/0.3165, allocations: 200.5 kB / 440.5 MB, free: 14.51 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3165, allocations: 0 / 440.5 MB, free: 14.51 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.3168, allocations: 35.88 kB / 440.5 MB, free: 14.47 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,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.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.001526/0.3183, allocations: 424.7 kB / 440.9 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002369/0.3185, allocations: 63.91 kB / 441 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3185, allocations: 0 / 441 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.195e-05/0.3186, allocations: 32.17 kB / 441 MB, free: 14.13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.319, allocations: 70.44 kB / 441.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006496/0.3197, allocations: 342.2 kB / 441.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004054/0.3201, allocations: 0.736 MB / 442.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.272e-05/0.3201, allocations: 27.42 kB / 442.2 MB, free: 12.9 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3201, allocations: 0 / 442.2 MB, free: 12.9 MB / 350.1 MB Notification: Performance of Templates: time 0.005288/0.3254, allocations: 2.668 MB / 444.8 MB, free: 10.25 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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.448394680861384]