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.00526/0.00526, allocations: 107.9 kB / 21.97 MB, free: 5.184 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.001427/0.001427, allocations: 218.2 kB / 25.29 MB, free: 3.203 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.444/1.444, allocations: 230.6 MB / 259 MB, free: 8.035 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.002/0.002, allocations: 59.89 kB / 379.8 MB, free: 2.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2355, allocations: 53.36 MB / 433.2 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003692/0.2392, allocations: 1.937 MB / 435.1 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00213/0.2413, allocations: 1.227 MB / 436.3 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.2415, allocations: 3.938 kB / 436.3 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006187/0.2421, allocations: 147.5 kB / 436.5 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004205/0.2425, allocations: 155.4 kB / 436.6 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000481/0.243, allocations: 171.5 kB / 436.8 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002861/0.2433, allocations: 199.4 kB / 437 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.2434, allocations: 17.75 kB / 437 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.2435, allocations: 79.69 kB / 437.1 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.2436, allocations: 83.55 kB / 437.2 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.2437, allocations: 8 kB / 437.2 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001484/0.2438, allocations: 59.95 kB / 437.2 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.24e-05/0.2439, allocations: 47.84 kB / 437.3 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.197e-05/0.244, allocations: 67.55 kB / 437.3 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003476/0.2443, allocations: 220.3 kB / 437.6 MB, free: 2.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2443, allocations: 0 / 437.6 MB, free: 2.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.2443, allocations: 0 / 437.6 MB, free: 2.57 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.2443, allocations: 0 / 437.6 MB, free: 2.57 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.0008038/0.2451, allocations: 450.7 kB / 438 MB, free: 2.094 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.2452, allocations: 12.03 kB / 438 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.48e-05/0.2452, allocations: 20.8 kB / 438 MB, free: 2.062 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003448/0.2456, allocations: 221.1 kB / 438.2 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.2456, allocations: 8.375 kB / 438.3 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.2456, allocations: 12.12 kB / 438.3 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003267/0.2459, allocations: 149.4 kB / 438.4 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.2459, allocations: 0 / 438.4 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.246, allocations: 3.984 kB / 438.4 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.246, allocations: 0 / 438.4 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.2461, allocations: 39.86 kB / 438.5 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004881/0.2465, allocations: 333.5 kB / 438.8 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/0.2468, allocations: 103.9 kB / 438.9 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.222e-05/0.2469, allocations: 42.5 kB / 438.9 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/0.2469, allocations: 15.92 kB / 438.9 MB, free: 1.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001638/0.2471, allocations: 71.39 kB / 439 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.2471, allocations: 0 / 439 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003761/0.2474, allocations: 145.4 kB / 439.2 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.2476, allocations: 140.8 kB / 439.3 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003159/0.2479, allocations: 269.1 kB / 439.6 MB, free: 360 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.2479, allocations: 29.7 kB / 439.6 MB, free: 324 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.618e-05/0.248, allocations: 116.1 kB / 439.7 MB, free: 204 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.248, allocations: 19.95 kB / 439.7 MB, free: 184 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.253e-05/0.2481, allocations: 29.67 kB / 439.7 MB, free: 148 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.2483, allocations: 338.8 kB / 440.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.456e-05/0.2483, allocations: 16 kB / 440.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.2484, allocations: 77.92 kB / 440.2 MB, free: 15.69 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.2486, allocations: 76.27 kB / 440.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2486, allocations: 0 / 440.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002209/0.2488, allocations: 117.8 kB / 440.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.2488, allocations: 4 kB / 440.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.2488, allocations: 0 / 440.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.2488, allocations: 4 kB / 440.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.378e-05/0.2489, allocations: 19.92 kB / 440.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.2489, allocations: 4 kB / 440.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.968e-05/0.249, allocations: 16 kB / 440.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.249, allocations: 4 kB / 440.4 MB, free: 15.43 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.000143/0.2492, allocations: 139.5 kB / 440.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.096e-05/0.2492, allocations: 69.48 kB / 440.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002467/0.2495, allocations: 107.3 kB / 440.7 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.2495, allocations: 4 kB / 440.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2495, allocations: 0 / 440.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.2495, allocations: 8 kB / 440.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002153/0.2497, allocations: 204.6 kB / 440.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.2497, allocations: 3.984 kB / 440.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.513e-05/0.2498, allocations: 4 kB / 440.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.2498, allocations: 4 kB / 440.9 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.2498, allocations: 0 / 440.9 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2498, allocations: 0 / 440.9 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.2498, allocations: 4 kB / 440.9 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.25, allocations: 162.5 kB / 441.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.298e-05/0.2501, allocations: 31.84 kB / 441.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.157e-05/0.2501, allocations: 4 kB / 441.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.029e-05/0.2502, allocations: 4 kB / 441.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.2502, allocations: 7.984 kB / 441.1 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.2503, allocations: 7.938 kB / 441.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002202/0.2505, allocations: 200.5 kB / 441.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2505, allocations: 4 kB / 441.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.2507, allocations: 31.94 kB / 441.4 MB, free: 14.36 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.001547/0.2523, allocations: 421.1 kB / 441.8 MB, free: 14.1 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002184/0.2525, allocations: 63.91 kB / 441.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2525, allocations: 0 / 441.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.09e-05/0.2526, allocations: 20.25 kB / 441.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004199/0.253, allocations: 74.34 kB / 442 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006349/0.2536, allocations: 346.4 kB / 442.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/0.254, allocations: 0.7361 MB / 443 MB, free: 12.81 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.797e-05/0.2541, allocations: 19.44 kB / 443 MB, free: 12.79 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2541, allocations: 0 / 443 MB, free: 12.79 MB / 350.1 MB Notification: Performance of Templates: time 0.005185/0.2593, allocations: 2.669 MB / 445.7 MB, free: 10.13 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.443949883803725]