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.001165/0.001165, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.001158/0.001158, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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 0.909/0.909, allocations: 177 MB / 204.8 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] 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 1.453e-06/1.453e-06, allocations: 0 / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.185e-05/2.33e-05, allocations: 6.25 kB / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.005848/0.005871, allocations: 1.958 MB / 274.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004607/0.01048, allocations: 1.172 MB / 276 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.01062, allocations: 3.938 kB / 276 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005698/0.01119, allocations: 159.4 kB / 276.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000361/0.01155, allocations: 163.3 kB / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004037/0.01195, allocations: 175.3 kB / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000233/0.01218, allocations: 191.4 kB / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.01228, allocations: 17.81 kB / 276.7 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.01242, allocations: 103.7 kB / 276.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.01253, allocations: 67.8 kB / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.01255, allocations: 8 kB / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.01268, allocations: 63.89 kB / 277 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.076e-05/0.01274, allocations: 43.83 kB / 277 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.523e-05/0.01279, allocations: 39.86 kB / 277 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.01305, allocations: 159.3 kB / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.01305, allocations: 0 / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.01305, allocations: 4 kB / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.01306, allocations: 0 / 277.2 MB, free: 13.12 MB / 266.7 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.003622/0.01668, allocations: 0.5439 MB / 277.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.01672, allocations: 11.98 kB / 277.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.88e-05/0.01679, allocations: 32.78 kB / 277.8 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002622/0.01705, allocations: 220.4 kB / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.01707, allocations: 8.375 kB / 278 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.01708, allocations: 4.375 kB / 278 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.01735, allocations: 140.6 kB / 278.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.01735, allocations: 4.125 kB / 278.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.01736, allocations: 4.375 kB / 278.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.01737, allocations: 7.938 kB / 278.2 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.13e-05/0.01743, allocations: 19.97 kB / 278.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003761/0.0178, allocations: 351 kB / 278.5 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.01795, allocations: 113.4 kB / 278.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.748e-05/0.01799, allocations: 39.05 kB / 278.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.01801, allocations: 7.938 kB / 278.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001053/0.01812, allocations: 76.97 kB / 278.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.01812, allocations: 0 / 278.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.000245/0.01837, allocations: 117.5 kB / 278.9 MB, free: 11.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.01842, allocations: 107.1 kB / 279 MB, free: 11.11 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.01863, allocations: 296.3 kB / 279.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.01864, allocations: 29.7 kB / 279.3 MB, free: 10.76 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.436e-05/0.01872, allocations: 162.9 kB / 279.5 MB, free: 10.6 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.01874, allocations: 27.89 kB / 279.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.187e-05/0.01878, allocations: 35.27 kB / 279.5 MB, free: 10.53 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.01891, allocations: 0.4962 MB / 280 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.782e-05/0.01894, allocations: 15.98 kB / 280 MB, free: 10 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.622e-05/0.01899, allocations: 60.75 kB / 280.1 MB, free: 9.926 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.744e-05/0.01904, allocations: 43.62 kB / 280.1 MB, free: 9.875 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.01905, allocations: 32 / 280.1 MB, free: 9.875 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00312/0.02217, allocations: 89.47 kB / 280.2 MB, free: 9.781 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.02218, allocations: 6.656 kB / 280.2 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.02219, allocations: 0 / 280.2 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.0222, allocations: 0 / 280.2 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.933e-05/0.02227, allocations: 15.98 kB / 280.3 MB, free: 9.762 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.02227, allocations: 0 / 280.3 MB, free: 9.762 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.402e-05/0.02232, allocations: 8 kB / 280.3 MB, free: 9.754 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.311e-06/0.02232, allocations: 0 / 280.3 MB, free: 9.754 MB / 266.7 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 8.793e-05/0.02241, allocations: 164.5 kB / 280.4 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.02248, allocations: 73.52 kB / 280.5 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001549/0.02263, allocations: 95.38 kB / 280.6 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.02264, allocations: 4 kB / 280.6 MB, free: 9.398 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.02264, allocations: 0 / 280.6 MB, free: 9.398 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.02264, allocations: 0 / 280.6 MB, free: 9.398 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.02279, allocations: 180.5 kB / 280.8 MB, free: 9.188 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.02279, allocations: 0 / 280.8 MB, free: 9.188 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.719e-05/0.02282, allocations: 8 kB / 280.8 MB, free: 9.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.02282, allocations: 3.938 kB / 280.8 MB, free: 9.176 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.02283, allocations: 4 kB / 280.8 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.02283, allocations: 4.062 kB / 280.8 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.02284, allocations: 3.938 kB / 280.8 MB, free: 9.164 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.023, allocations: 167.8 kB / 281 MB, free: 8.969 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.749e-05/0.02306, allocations: 35.77 kB / 281 MB, free: 8.934 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.02308, allocations: 8.062 kB / 281 MB, free: 8.926 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.543e-05/0.02313, allocations: 8 kB / 281 MB, free: 8.918 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.02316, allocations: 7.984 kB / 281 MB, free: 8.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.02318, allocations: 7.938 kB / 281 MB, free: 8.902 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001309/0.02331, allocations: 201.1 kB / 281.2 MB, free: 8.707 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02331, allocations: 0 / 281.2 MB, free: 8.707 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002353/0.02354, allocations: 35.94 kB / 281.3 MB, free: 8.672 MB / 266.7 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.0009039/0.02445, allocations: 376.3 kB / 281.6 MB, free: 8.414 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001303/0.02458, allocations: 55.59 kB / 281.7 MB, free: 8.355 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.02458, allocations: 0 / 281.7 MB, free: 8.355 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.156e-05/0.02462, allocations: 27.67 kB / 281.7 MB, free: 8.324 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.02493, allocations: 70.52 kB / 281.8 MB, free: 8.254 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005495/0.03043, allocations: 301.9 kB / 282.1 MB, free: 7.926 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.969e-05/0.03048, allocations: 79.81 kB / 282.1 MB, free: 7.828 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.831e-05/0.03055, allocations: 25.88 kB / 282.2 MB, free: 7.797 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.545e-05/0.03059, allocations: 20.5 kB / 282.2 MB, free: 7.777 MB / 266.7 MB Notification: Performance of SimCode: time 1.353e-06/0.03059, allocations: 0 / 282.2 MB, free: 7.777 MB / 266.7 MB Notification: Performance of Templates: time 0.01178/0.04238, allocations: 2.74 MB / 284.9 MB, free: 5.07 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8737843399867415]