Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001709/0.001709, allocations: 90.55 kB / 20.69 MB, free: 1.02 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.001912/0.001912, allocations: 158.2 kB / 23.95 MB, free: 4.148 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.49/1.49, allocations: 177 MB / 204.1 MB, free: 9.148 MB / 190.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.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.089e-06/5.089e-06, allocations: 0.7969 kB / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.977e-05/3.486e-05, allocations: 6.281 kB / 325 MB, free: 492 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.005829/0.005864, allocations: 1.884 MB / 326.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004026/0.009889, allocations: 1.144 MB / 328 MB, free: 14.47 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001838/0.01007, allocations: 6.438 kB / 328 MB, free: 14.47 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009979/0.01107, allocations: 157.9 kB / 328.2 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007464/0.01182, allocations: 153.8 kB / 328.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009483/0.01277, allocations: 184 kB / 328.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004927/0.01326, allocations: 191.3 kB / 328.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.01342, allocations: 20.56 kB / 328.7 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003054/0.01372, allocations: 99.33 kB / 328.8 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002059/0.01393, allocations: 65.14 kB / 328.9 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.305e-05/0.01397, allocations: 8.625 kB / 328.9 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002495/0.01422, allocations: 65.2 kB / 329 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.01434, allocations: 46 kB / 329 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.01445, allocations: 41 kB / 329.1 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005716/0.01502, allocations: 210.1 kB / 329.3 MB, free: 13.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.01503, allocations: 1.734 kB / 329.3 MB, free: 13.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.01503, allocations: 0 / 329.3 MB, free: 13.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.01504, allocations: 0 / 329.3 MB, free: 13.93 MB / 302.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.001223/0.01626, allocations: 454.2 kB / 329.7 MB, free: 13.53 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.01631, allocations: 13.33 kB / 329.7 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.01641, allocations: 23.81 kB / 329.7 MB, free: 13.51 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005658/0.01697, allocations: 208.4 kB / 329.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.971e-05/0.017, allocations: 9.016 kB / 330 MB, free: 13.33 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.191e-05/0.01704, allocations: 4.438 kB / 330 MB, free: 13.33 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005269/0.01756, allocations: 141.8 kB / 330.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.01758, allocations: 1.219 kB / 330.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.0176, allocations: 6.375 kB / 330.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.01761, allocations: 5.281 kB / 330.1 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001913/0.0178, allocations: 43.12 kB / 330.1 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007209/0.01852, allocations: 292.8 kB / 330.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003965/0.01892, allocations: 104.2 kB / 330.5 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.01909, allocations: 44.75 kB / 330.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.401e-05/0.01912, allocations: 6.922 kB / 330.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002509/0.01937, allocations: 70.52 kB / 330.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 2.805e-06/0.01938, allocations: 1.125 kB / 330.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006593/0.02003, allocations: 155.4 kB / 330.8 MB, free: 12.67 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.02014, allocations: 110.2 kB / 330.9 MB, free: 12.54 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000522/0.02066, allocations: 274.2 kB / 331.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.841e-05/0.0207, allocations: 30.8 kB / 331.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.02083, allocations: 116.6 kB / 331.3 MB, free: 12.21 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/0.02088, allocations: 22.8 kB / 331.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.847e-05/0.02097, allocations: 29.42 kB / 331.4 MB, free: 12.17 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002045/0.02117, allocations: 331.9 kB / 331.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.02127, allocations: 13.94 kB / 331.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/0.02144, allocations: 75.19 kB / 331.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.02165, allocations: 52.09 kB / 331.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.02165, allocations: 0 / 331.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003636/0.02201, allocations: 107.5 kB / 331.9 MB, free: 11.65 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.02203, allocations: 4.531 kB / 332 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.02204, allocations: 1.188 kB / 332 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.02206, allocations: 1.406 kB / 332 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.02218, allocations: 12.48 kB / 332 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.02219, allocations: 5.438 kB / 332 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.0223, allocations: 7.406 kB / 332 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.02232, allocations: 6.234 kB / 332 MB, free: 11.64 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0002016/0.02252, allocations: 139.8 kB / 332.1 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/0.02268, allocations: 72.02 kB / 332.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004042/0.02309, allocations: 110.4 kB / 332.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.02309, allocations: 2.5 kB / 332.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.0231, allocations: 3.938 kB / 332.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.0231, allocations: 1.156 kB / 332.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002944/0.0234, allocations: 175.2 kB / 332.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.0234, allocations: 0 / 332.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.479e-05/0.02347, allocations: 5.875 kB / 332.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.047e-05/0.02348, allocations: 5.062 kB / 332.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.0235, allocations: 6.641 kB / 332.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.0235, allocations: 1.312 kB / 332.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.02351, allocations: 5.078 kB / 332.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004531/0.02396, allocations: 162.4 kB / 332.7 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.02408, allocations: 37.39 kB / 332.7 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.244e-05/0.02414, allocations: 6.5 kB / 332.7 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.02425, allocations: 11.25 kB / 332.7 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.539e-05/0.02432, allocations: 6.172 kB / 332.7 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/0.02434, allocations: 4.562 kB / 332.7 MB, free: 11.02 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003663/0.02471, allocations: 203.2 kB / 332.9 MB, free: 10.89 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.02471, allocations: 0 / 332.9 MB, free: 10.89 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004875/0.02519, allocations: 29.62 kB / 333 MB, free: 10.88 MB / 302.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 (10): * Single equations (assignments): 8 * 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.002611/0.0278, allocations: 434.8 kB / 333.4 MB, free: 10.65 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000341/0.02814, allocations: 69.05 kB / 333.4 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.02815, allocations: 1.094 kB / 333.4 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.02828, allocations: 19.41 kB / 333.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006832/0.02896, allocations: 66.28 kB / 333.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009314/0.02989, allocations: 326.5 kB / 333.8 MB, free: 10.33 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001882/0.03008, allocations: 124.4 kB / 334 MB, free: 10.23 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001113/0.03019, allocations: 26.12 kB / 334 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.652e-05/0.03027, allocations: 18.34 kB / 334 MB, free: 10.21 MB / 302.1 MB Notification: Performance of SimCode: time 6.21e-07/0.03027, allocations: 0 / 334 MB, free: 10.21 MB / 302.1 MB Notification: Performance of Templates: time 0.01143/0.04169, allocations: 2.528 MB / 336.5 MB, free: 8.914 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.393617231398821]