Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001451/0.001451, allocations: 106.2 kB / 19.8 MB, free: 2.5 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.001932/0.001932, allocations: 216.2 kB / 23 MB, free: 5.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.602/1.602, allocations: 230.2 MB / 256.2 MB, free: 8.512 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002305/0.002305, allocations: 67.89 kB / 376.5 MB, free: 3.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3443, allocations: 53.32 MB / 429.8 MB, free: 7.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.003422/0.3477, allocations: 1.93 MB / 431.7 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002284/0.35, allocations: 1.289 MB / 433 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.3501, allocations: 7.938 kB / 433 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002646/0.3504, allocations: 67.67 kB / 433.1 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003841/0.3507, allocations: 135.4 kB / 433.2 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006478/0.3514, allocations: 218.8 kB / 433.4 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002688/0.3517, allocations: 183.5 kB / 433.6 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.3518, allocations: 25.53 kB / 433.6 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.3519, allocations: 75.7 kB / 433.7 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.352, allocations: 87.61 kB / 433.8 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.352, allocations: 8 kB / 433.8 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001847/0.3522, allocations: 67.95 kB / 433.9 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.626e-05/0.3523, allocations: 55.77 kB / 433.9 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.3524, allocations: 83.41 kB / 434 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003985/0.3528, allocations: 232.3 kB / 434.2 MB, free: 3.082 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3528, allocations: 0 / 434.2 MB, free: 3.082 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3528, allocations: 0 / 434.2 MB, free: 3.082 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.3528, allocations: 0 / 434.2 MB, free: 3.082 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.0008001/0.3536, allocations: 0.5542 MB / 434.8 MB, free: 2.473 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.3537, allocations: 8.031 kB / 434.8 MB, free: 2.465 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.553e-05/0.3537, allocations: 28.73 kB / 434.8 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004493/0.3542, allocations: 287.8 kB / 435.1 MB, free: 2.117 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/0.3542, allocations: 8.375 kB / 435.1 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.3542, allocations: 4.375 kB / 435.1 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003615/0.3546, allocations: 159.9 kB / 435.3 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.3546, allocations: 0 / 435.3 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.3546, allocations: 8 kB / 435.3 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.3546, allocations: 3.938 kB / 435.3 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.3548, allocations: 35.97 kB / 435.3 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005759/0.3553, allocations: 386.3 kB / 435.7 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002745/0.3556, allocations: 119.9 kB / 435.8 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.966e-05/0.3557, allocations: 38.56 kB / 435.8 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.3557, allocations: 11.92 kB / 435.9 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/0.3559, allocations: 87.31 kB / 435.9 MB, free: 1.141 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/0.3559, allocations: 0 / 435.9 MB, free: 1.141 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004123/0.3563, allocations: 149.5 kB / 436.1 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/0.3564, allocations: 158.2 kB / 436.2 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003965/0.3568, allocations: 334.7 kB / 436.6 MB, free: 472 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.3569, allocations: 33.7 kB / 436.6 MB, free: 432 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.357, allocations: 124.3 kB / 436.7 MB, free: 304 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/0.357, allocations: 35.83 kB / 436.8 MB, free: 268 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.639e-05/0.3571, allocations: 29.72 kB / 436.8 MB, free: 232 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002079/0.3573, allocations: 334.8 kB / 437.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.171e-05/0.3574, allocations: 23.98 kB / 437.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.3575, allocations: 94.78 kB / 437.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.3576, allocations: 80.22 kB / 437.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3577, allocations: 0 / 437.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002476/0.3579, allocations: 133.4 kB / 437.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.3579, allocations: 4 kB / 437.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3579, allocations: 0 / 437.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.3579, allocations: 4 kB / 437.4 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.358, allocations: 19.98 kB / 437.5 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.358, allocations: 0 / 437.5 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.313e-05/0.3581, allocations: 4 kB / 437.5 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.3581, allocations: 7.984 kB / 437.5 MB, free: 15.48 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.0001705/0.3583, allocations: 165.8 kB / 437.6 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.3584, allocations: 69.5 kB / 437.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002722/0.3587, allocations: 127.5 kB / 437.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.3587, allocations: 4 kB / 437.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3587, allocations: 0 / 437.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3587, allocations: 0 / 437.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002695/0.359, allocations: 249.5 kB / 438.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.359, allocations: 4 kB / 438.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.275e-05/0.359, allocations: 8 kB / 438.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.359, allocations: 8.047 kB / 438.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.3591, allocations: 4 kB / 438.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3591, allocations: 0 / 438.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3591, allocations: 0 / 438.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.3593, allocations: 166.5 kB / 438.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.3594, allocations: 113 kB / 438.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.273e-05/0.3595, allocations: 11.98 kB / 438.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.876e-05/0.3595, allocations: 0 / 438.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/0.3596, allocations: 15.92 kB / 438.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.3596, allocations: 4 kB / 438.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002639/0.3599, allocations: 245.9 kB / 438.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3599, allocations: 0 / 438.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.3601, allocations: 40.02 kB / 438.7 MB, free: 14.16 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.001594/0.3617, allocations: 436.7 kB / 439.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002832/0.362, allocations: 63.91 kB / 439.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/0.362, allocations: 4 kB / 439.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.359e-05/0.3621, allocations: 27.92 kB / 439.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004192/0.3625, allocations: 66.59 kB / 439.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006824/0.3632, allocations: 389.2 kB / 439.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/0.3636, allocations: 0.7358 MB / 440.4 MB, free: 12.53 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.872e-05/0.3637, allocations: 33.52 kB / 440.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.325e-05/0.3637, allocations: 27.44 kB / 440.4 MB, free: 12.47 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3637, allocations: 0 / 440.4 MB, free: 12.47 MB / 350.1 MB Notification: Performance of Templates: time 0.006976/0.3707, allocations: 2.871 MB / 443.3 MB, free: 9.617 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.128524828702211]