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.001392/0.001392, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.00273/0.00273, allocations: 216.2 kB / 23.73 MB, free: 4.406 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.478/1.478, allocations: 230.5 MB / 257.4 MB, free: 7.781 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.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 0.002152/0.002152, allocations: 67.83 kB / 378.2 MB, free: 2.301 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2689, allocations: 53.39 MB / 431.6 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003903/0.2728, allocations: 1.895 MB / 433.5 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002235/0.2751, allocations: 1.137 MB / 434.6 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.2752, allocations: 3.938 kB / 434.7 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006661/0.2759, allocations: 159.5 kB / 434.8 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004147/0.2763, allocations: 159.4 kB / 435 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005336/0.2768, allocations: 166.5 kB / 435.1 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000292/0.2771, allocations: 191.4 kB / 435.3 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.2772, allocations: 17.55 kB / 435.3 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.2774, allocations: 83.62 kB / 435.4 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.2775, allocations: 83.61 kB / 435.5 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.972e-05/0.2776, allocations: 12 kB / 435.5 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.2777, allocations: 55.97 kB / 435.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.017e-05/0.2778, allocations: 43.83 kB / 435.6 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.842e-05/0.2779, allocations: 55.61 kB / 435.7 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003971/0.2783, allocations: 213.5 kB / 435.9 MB, free: 2.262 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2783, allocations: 0 / 435.9 MB, free: 2.262 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2783, allocations: 0 / 435.9 MB, free: 2.262 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.2783, allocations: 0 / 435.9 MB, free: 2.262 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.0008518/0.2792, allocations: 450.7 kB / 436.3 MB, free: 1.785 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.2792, allocations: 19.98 kB / 436.3 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.916e-05/0.2793, allocations: 20.8 kB / 436.3 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003658/0.2796, allocations: 217.1 kB / 436.6 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.2796, allocations: 384 / 436.6 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.2797, allocations: 8.375 kB / 436.6 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003423/0.28, allocations: 138.2 kB / 436.7 MB, free: 1.344 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.28, allocations: 4 kB / 436.7 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.28, allocations: 4 kB / 436.7 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.28, allocations: 4 kB / 436.7 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.2802, allocations: 39.84 kB / 436.8 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005048/0.2807, allocations: 302.1 kB / 437 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.2809, allocations: 103.9 kB / 437.1 MB, free: 0.832 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.154e-05/0.281, allocations: 50.5 kB / 437.2 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.281, allocations: 4 kB / 437.2 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001707/0.2812, allocations: 75.39 kB / 437.3 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 3.857e-06/0.2812, allocations: 3.984 kB / 437.3 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003952/0.2816, allocations: 149.4 kB / 437.4 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.2817, allocations: 110.8 kB / 437.5 MB, free: 404 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003555/0.282, allocations: 277 kB / 437.8 MB, free: 120 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.2821, allocations: 29.7 kB / 437.8 MB, free: 84 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.2822, allocations: 116.3 kB / 437.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.646e-05/0.2823, allocations: 16.14 kB / 438 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.166e-05/0.2823, allocations: 37.67 kB / 438 MB, free: 15.9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000226/0.2826, allocations: 334.8 kB / 438.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.2827, allocations: 23.98 kB / 438.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.2828, allocations: 86.84 kB / 438.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.2829, allocations: 76.22 kB / 438.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.283, allocations: 4 kB / 438.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002279/0.2832, allocations: 117.5 kB / 438.6 MB, free: 15.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.2832, allocations: 10.5 kB / 438.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.2832, allocations: 0 / 438.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.2832, allocations: 4 kB / 438.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.733e-05/0.2833, allocations: 15.92 kB / 438.7 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.2833, allocations: 4 kB / 438.7 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.004e-05/0.2834, allocations: 11.95 kB / 438.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.2834, allocations: 4 kB / 438.7 MB, free: 15.17 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.0001462/0.2835, allocations: 150.9 kB / 438.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.977e-05/0.2836, allocations: 61.53 kB / 438.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002471/0.2839, allocations: 115.3 kB / 439 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.2839, allocations: 4 kB / 439 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.2839, allocations: 4 kB / 439 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.2839, allocations: 0 / 439 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002753/0.2842, allocations: 165.2 kB / 439.2 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.2842, allocations: 4 kB / 439.2 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.487e-05/0.2842, allocations: 7.938 kB / 439.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.2842, allocations: 4.062 kB / 439.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.2843, allocations: 11.98 kB / 439.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.2843, allocations: 3.938 kB / 439.2 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2843, allocations: 0 / 439.2 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000275/0.2845, allocations: 162.5 kB / 439.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.093e-05/0.2846, allocations: 39.83 kB / 439.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.2847, allocations: 0 / 439.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.745e-05/0.2847, allocations: 4 kB / 439.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/0.2848, allocations: 11.98 kB / 439.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.2848, allocations: 4 kB / 439.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002124/0.285, allocations: 208.5 kB / 439.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.285, allocations: 0 / 439.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002537/0.2852, allocations: 27.94 kB / 439.6 MB, free: 14.13 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 (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.001767/0.287, allocations: 440.8 kB / 440.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002284/0.2872, allocations: 63.91 kB / 440.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.2872, allocations: 0 / 440.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.759e-05/0.2873, allocations: 32.23 kB / 440.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004386/0.2877, allocations: 78.33 kB / 440.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005918/0.2883, allocations: 321.7 kB / 440.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/0.2885, allocations: 115.2 kB / 440.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.935e-05/0.2885, allocations: 29.66 kB / 440.7 MB, free: 13.17 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.865e-05/0.2886, allocations: 23.42 kB / 440.7 MB, free: 13.15 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2886, allocations: 3.938 kB / 440.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of Templates: time 0.006893/0.2955, allocations: 2.659 MB / 443.4 MB, free: 10.52 MB / 350.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.538315884768963]