Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 187.5 kB / 24.46 MB, free: 3.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 225.7 MB / 253.3 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 47.92 kB / 371.6 MB, free: 9.211 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2812, allocations: 52.17 MB / 423.8 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003535/0.2848, allocations: 1.885 MB / 425.7 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.2867, allocations: 0.9899 MB / 426.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.2868, allocations: 3.938 kB / 426.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006731/0.2874, allocations: 155.5 kB / 426.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003203/0.2878, allocations: 119 kB / 427 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005484/0.2883, allocations: 203.1 kB / 427.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002669/0.2886, allocations: 191.4 kB / 427.3 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.2887, allocations: 21.53 kB / 427.4 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.2888, allocations: 71.7 kB / 427.4 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.2889, allocations: 71.69 kB / 427.5 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.289, allocations: 8 kB / 427.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.2891, allocations: 59.89 kB / 427.6 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.454e-05/0.2892, allocations: 43.84 kB / 427.6 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.797e-05/0.2893, allocations: 51.59 kB / 427.7 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003526/0.2896, allocations: 217.9 kB / 427.9 MB, free: 10.44 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.2896, allocations: 3.984 kB / 427.9 MB, free: 10.44 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.2896, allocations: 4 kB / 427.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.2896, allocations: 0 / 427.9 MB, free: 10.43 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.0007753/0.2904, allocations: 434 kB / 428.3 MB, free: 9.977 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.2905, allocations: 12.02 kB / 428.3 MB, free: 9.965 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.859e-05/0.2905, allocations: 24.8 kB / 428.3 MB, free: 9.941 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003543/0.2909, allocations: 209 kB / 428.5 MB, free: 9.711 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.2909, allocations: 8.375 kB / 428.6 MB, free: 9.703 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.2909, allocations: 12.12 kB / 428.6 MB, free: 9.691 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003236/0.2912, allocations: 137.9 kB / 428.7 MB, free: 9.535 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.2913, allocations: 0 / 428.7 MB, free: 9.535 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.2913, allocations: 4 kB / 428.7 MB, free: 9.531 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.2913, allocations: 0 / 428.7 MB, free: 9.531 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.2914, allocations: 39.92 kB / 428.7 MB, free: 9.492 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004816/0.2919, allocations: 294 kB / 429 MB, free: 9.168 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002435/0.2921, allocations: 115.9 kB / 429.1 MB, free: 9.027 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.336e-05/0.2922, allocations: 42.56 kB / 429.2 MB, free: 8.977 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.2922, allocations: 0 / 429.2 MB, free: 8.977 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001729/0.2924, allocations: 79.33 kB / 429.3 MB, free: 8.887 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.482e-06/0.2924, allocations: 0 / 429.3 MB, free: 8.887 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003872/0.2928, allocations: 145.7 kB / 429.4 MB, free: 8.738 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.396e-05/0.2929, allocations: 107 kB / 429.5 MB, free: 8.609 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000311/0.2932, allocations: 268.9 kB / 429.8 MB, free: 8.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.2932, allocations: 25.7 kB / 429.8 MB, free: 8.309 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.271e-05/0.2933, allocations: 124.1 kB / 429.9 MB, free: 8.184 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.2933, allocations: 15.91 kB / 429.9 MB, free: 8.168 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.866e-05/0.2934, allocations: 33.7 kB / 430 MB, free: 8.129 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.2935, allocations: 330.8 kB / 430.3 MB, free: 7.797 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.909e-05/0.2936, allocations: 24.05 kB / 430.3 MB, free: 7.773 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.2937, allocations: 94.77 kB / 430.4 MB, free: 7.656 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.2939, allocations: 80.27 kB / 430.5 MB, free: 7.562 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.066e-06/0.2939, allocations: 3.984 kB / 430.5 MB, free: 7.559 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002217/0.2941, allocations: 117.5 kB / 430.6 MB, free: 7.438 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.2941, allocations: 4 kB / 430.6 MB, free: 7.434 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.2941, allocations: 4 kB / 430.6 MB, free: 7.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.2941, allocations: 0 / 430.6 MB, free: 7.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.199e-05/0.2942, allocations: 12.12 kB / 430.6 MB, free: 7.418 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.2942, allocations: 4 kB / 430.6 MB, free: 7.414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.286e-05/0.2943, allocations: 19.88 kB / 430.6 MB, free: 7.395 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.2943, allocations: 7.938 kB / 430.7 MB, free: 7.387 MB / 334.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.0001505/0.2944, allocations: 141.8 kB / 430.8 MB, free: 7.238 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.416e-05/0.2945, allocations: 69.48 kB / 430.9 MB, free: 7.164 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002535/0.2948, allocations: 107.4 kB / 431 MB, free: 7.051 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.2948, allocations: 4 kB / 431 MB, free: 7.047 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.2948, allocations: 0 / 431 MB, free: 7.047 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.2948, allocations: 8.047 kB / 431 MB, free: 7.039 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.295, allocations: 161.2 kB / 431.1 MB, free: 6.852 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.295, allocations: 4 kB / 431.1 MB, free: 6.848 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.25e-05/0.295, allocations: 7.984 kB / 431.1 MB, free: 6.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.295, allocations: 3.938 kB / 431.1 MB, free: 6.836 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.295, allocations: 4.062 kB / 431.2 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.295, allocations: 4 kB / 431.2 MB, free: 6.828 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.295, allocations: 0 / 431.2 MB, free: 6.828 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.2953, allocations: 170.5 kB / 431.3 MB, free: 6.637 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.7e-05/0.2954, allocations: 31.83 kB / 431.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.608e-05/0.2954, allocations: 8 kB / 431.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.489e-05/0.2955, allocations: 7.984 kB / 431.4 MB, free: 6.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/0.2955, allocations: 4 kB / 431.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.2956, allocations: 4 kB / 431.4 MB, free: 6.582 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003134/0.2959, allocations: 196.5 kB / 431.6 MB, free: 6.391 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2959, allocations: 96 / 431.6 MB, free: 6.391 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003802/0.2963, allocations: 31.92 kB / 431.6 MB, free: 6.359 MB / 334.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.001708/0.298, allocations: 446.9 kB / 432 MB, free: 6.102 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002387/0.2982, allocations: 75.78 kB / 432.1 MB, free: 6.027 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2982, allocations: 0 / 432.1 MB, free: 6.027 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.2983, allocations: 31.97 kB / 432.1 MB, free: 5.996 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004713/0.2988, allocations: 52.38 kB / 432.2 MB, free: 5.945 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006373/0.2994, allocations: 351.2 kB / 432.5 MB, free: 5.562 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001515/0.2996, allocations: 123.6 kB / 432.7 MB, free: 5.422 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.068e-05/0.2996, allocations: 23.42 kB / 432.7 MB, free: 5.398 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2996, allocations: 0 / 432.7 MB, free: 5.398 MB / 334.1 MB Notification: Performance of Templates: time 0.005444/0.3051, allocations: 2.638 MB / 435.3 MB, free: 2.77 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.188498937990516]