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.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.001395/0.001395, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.001624/0.001624, allocations: 217.3 kB / 24.47 MB, free: 4.359 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.622/1.622, allocations: 230.4 MB / 258.1 MB, free: 8.16 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.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.IntegerSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.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.002004/0.002004, allocations: 71.83 kB / 378.7 MB, free: 2.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4066/0.4086, allocations: 53.33 MB / 432 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.004213/0.4128, allocations: 1.911 MB / 434 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002802/0.4156, allocations: 1.297 MB / 435.3 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001994/0.4158, allocations: 4 kB / 435.3 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000405/0.4162, allocations: 63.67 kB / 435.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004863/0.4167, allocations: 139.4 kB / 435.5 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008654/0.4175, allocations: 225.3 kB / 435.7 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003229/0.4179, allocations: 179.5 kB / 435.9 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.418, allocations: 13.56 kB / 435.9 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.4181, allocations: 83.61 kB / 435.9 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.4183, allocations: 83.67 kB / 436 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.774e-05/0.4183, allocations: 8 kB / 436 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001788/0.4185, allocations: 71.95 kB / 436.1 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.4186, allocations: 59.7 kB / 436.2 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.4187, allocations: 83.41 kB / 436.2 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004118/0.4191, allocations: 232.6 kB / 436.5 MB, free: 2.949 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.4191, allocations: 0 / 436.5 MB, free: 2.949 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4191, allocations: 0 / 436.5 MB, free: 2.949 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.4191, allocations: 4 kB / 436.5 MB, free: 2.945 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.001114/0.4203, allocations: 0.5503 MB / 437 MB, free: 2.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.646e-05/0.4203, allocations: 8.031 kB / 437 MB, free: 2.332 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.061e-05/0.4204, allocations: 28.8 kB / 437.1 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006802/0.4211, allocations: 291.8 kB / 437.3 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.4211, allocations: 4.375 kB / 437.4 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.4212, allocations: 16.11 kB / 437.4 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000448/0.4216, allocations: 159.5 kB / 437.5 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.4216, allocations: 0 / 437.5 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.4216, allocations: 4 kB / 437.5 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.4216, allocations: 0 / 437.5 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.4218, allocations: 39.97 kB / 437.6 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006916/0.4225, allocations: 386.3 kB / 437.9 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002965/0.4228, allocations: 111.9 kB / 438.1 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.4229, allocations: 50.55 kB / 438.1 MB, free: 1.105 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/0.4229, allocations: 4 kB / 438.1 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001871/0.4231, allocations: 71.33 kB / 438.2 MB, free: 1.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.4231, allocations: 3.938 kB / 438.2 MB, free: 1.016 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004493/0.4235, allocations: 161.6 kB / 438.3 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001543/0.4237, allocations: 158.2 kB / 438.5 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004042/0.4241, allocations: 334.7 kB / 438.8 MB, free: 336 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.4241, allocations: 29.7 kB / 438.8 MB, free: 300 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.4242, allocations: 128.1 kB / 439 MB, free: 168 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/0.4243, allocations: 31.83 kB / 439 MB, free: 136 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.233e-05/0.4243, allocations: 25.72 kB / 439 MB, free: 104 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.4245, allocations: 342.8 kB / 439.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.329e-05/0.4246, allocations: 23.98 kB / 439.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.4247, allocations: 90.83 kB / 439.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.4249, allocations: 84.22 kB / 439.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4249, allocations: 0 / 439.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002632/0.4251, allocations: 125.4 kB / 439.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.4252, allocations: 6.969 kB / 439.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.4252, allocations: 4 kB / 439.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.4252, allocations: 4.125 kB / 439.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.4253, allocations: 19.98 kB / 439.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.4253, allocations: 0 / 439.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.033e-05/0.4254, allocations: 11.94 kB / 439.7 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.4254, allocations: 4 kB / 439.7 MB, free: 15.35 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,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.0001945/0.4256, allocations: 162.5 kB / 439.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.4257, allocations: 69.5 kB / 440 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002935/0.426, allocations: 123.4 kB / 440.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/0.426, allocations: 4 kB / 440.1 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.426, allocations: 3.938 kB / 440.1 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.426, allocations: 3.938 kB / 440.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000277/0.4263, allocations: 241.5 kB / 440.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4263, allocations: 4 kB / 440.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.547e-05/0.4264, allocations: 8 kB / 440.3 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.4264, allocations: 0 / 440.3 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.4264, allocations: 7.984 kB / 440.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.4264, allocations: 0 / 440.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4264, allocations: 7.938 kB / 440.4 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000326/0.4267, allocations: 170.5 kB / 440.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.4269, allocations: 109 kB / 440.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.693e-05/0.4269, allocations: 7.984 kB / 440.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.441e-05/0.427, allocations: 4 kB / 440.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.333e-05/0.427, allocations: 11.98 kB / 440.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.4271, allocations: 7.938 kB / 440.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002534/0.4273, allocations: 249.9 kB / 440.9 MB, free: 14.06 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4273, allocations: 0 / 440.9 MB, free: 14.06 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002892/0.4276, allocations: 39.92 kB / 440.9 MB, free: 14.02 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,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.001626/0.4292, allocations: 430.1 kB / 441.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002594/0.4295, allocations: 72.03 kB / 441.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4295, allocations: 0 / 441.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.041e-05/0.4296, allocations: 31.86 kB / 441.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005111/0.4301, allocations: 56.83 kB / 441.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008313/0.4309, allocations: 388.8 kB / 441.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005689/0.4315, allocations: 0.7439 MB / 442.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.137e-05/0.4316, allocations: 29.52 kB / 442.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.511e-05/0.4316, allocations: 19.44 kB / 442.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4316, allocations: 0 / 442.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of Templates: time 0.008406/0.44, allocations: 2.89 MB / 445.6 MB, free: 9.512 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.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: 5.028159023728222]