Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.001408/0.001408, allocations: 107.5 kB / 20.43 MB, free: 1.066 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.001513/0.001513, allocations: 188.3 kB / 23.71 MB, free: 4.188 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.46/1.46, allocations: 225.7 MB / 252.5 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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002681/0.002681, allocations: 47.92 kB / 370.9 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2813, allocations: 52.18 MB / 423.1 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003746/0.285, allocations: 1.874 MB / 424.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.287, allocations: 1.009 MB / 425.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.2871, allocations: 7.938 kB / 426 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006332/0.2877, allocations: 159.5 kB / 426.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003156/0.288, allocations: 111.6 kB / 426.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005895/0.2886, allocations: 211.2 kB / 426.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002687/0.2889, allocations: 183.4 kB / 426.6 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.289, allocations: 17.55 kB / 426.6 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.2891, allocations: 83.62 kB / 426.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.2893, allocations: 71.67 kB / 426.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.2893, allocations: 8 kB / 426.8 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.2895, allocations: 63.91 kB / 426.8 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.809e-05/0.2895, allocations: 51.77 kB / 426.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.051e-05/0.2896, allocations: 51.61 kB / 426.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003093/0.2899, allocations: 205.6 kB / 427.1 MB, free: 10.4 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2899, allocations: 0 / 427.1 MB, free: 10.4 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2899, allocations: 0 / 427.1 MB, free: 10.4 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.2899, allocations: 0 / 427.1 MB, free: 10.4 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.0007293/0.2906, allocations: 446.8 kB / 427.6 MB, free: 9.926 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.2907, allocations: 8.031 kB / 427.6 MB, free: 9.918 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.226e-05/0.2907, allocations: 20.8 kB / 427.6 MB, free: 9.898 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003451/0.2911, allocations: 213.1 kB / 427.8 MB, free: 9.664 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.2911, allocations: 8.375 kB / 427.8 MB, free: 9.656 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.2911, allocations: 8.125 kB / 427.8 MB, free: 9.648 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003279/0.2914, allocations: 141.8 kB / 428 MB, free: 9.488 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.2915, allocations: 0 / 428 MB, free: 9.488 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.2915, allocations: 0 / 428 MB, free: 9.488 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.2915, allocations: 4 kB / 428 MB, free: 9.484 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.2916, allocations: 35.97 kB / 428 MB, free: 9.449 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005125/0.2921, allocations: 310 kB / 428.3 MB, free: 9.109 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.2923, allocations: 107.9 kB / 428.4 MB, free: 8.977 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.074e-05/0.2924, allocations: 46.55 kB / 428.5 MB, free: 8.922 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.2924, allocations: 3.984 kB / 428.5 MB, free: 8.918 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001754/0.2926, allocations: 83.33 kB / 428.6 MB, free: 8.824 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.2926, allocations: 0 / 428.6 MB, free: 8.824 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003886/0.293, allocations: 141.5 kB / 428.7 MB, free: 8.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.638e-05/0.2931, allocations: 110.8 kB / 428.8 MB, free: 8.547 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002983/0.2934, allocations: 264.9 kB / 429.1 MB, free: 8.281 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.2934, allocations: 29.64 kB / 429.1 MB, free: 8.246 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.754e-05/0.2935, allocations: 116.1 kB / 429.2 MB, free: 8.129 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.2935, allocations: 15.91 kB / 429.2 MB, free: 8.113 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.125e-05/0.2936, allocations: 29.7 kB / 429.2 MB, free: 8.078 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.2938, allocations: 330.8 kB / 429.6 MB, free: 7.746 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.127e-05/0.2938, allocations: 23.98 kB / 429.6 MB, free: 7.723 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.2939, allocations: 87.09 kB / 429.7 MB, free: 7.613 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.2941, allocations: 88.19 kB / 429.8 MB, free: 7.512 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2941, allocations: 0 / 429.8 MB, free: 7.512 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002191/0.2943, allocations: 117.5 kB / 429.9 MB, free: 7.391 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.2943, allocations: 4 kB / 429.9 MB, free: 7.387 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.2943, allocations: 128 / 429.9 MB, free: 7.387 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.2943, allocations: 8 kB / 429.9 MB, free: 7.379 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.382e-05/0.2944, allocations: 11.98 kB / 429.9 MB, free: 7.367 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.2944, allocations: 4 kB / 429.9 MB, free: 7.363 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.958e-05/0.2945, allocations: 19.83 kB / 429.9 MB, free: 7.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.649e-06/0.2945, allocations: 4 kB / 429.9 MB, free: 7.34 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,table.y,superSample1.y,superSample1.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.0001384/0.2946, allocations: 145.7 kB / 430.1 MB, free: 7.188 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.518e-05/0.2947, allocations: 61.55 kB / 430.1 MB, free: 7.121 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000248/0.295, allocations: 115.3 kB / 430.2 MB, free: 7 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.295, allocations: 8.062 kB / 430.2 MB, free: 6.992 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.295, allocations: 0 / 430.2 MB, free: 6.992 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.295, allocations: 0 / 430.2 MB, free: 6.992 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.2952, allocations: 165.6 kB / 430.4 MB, free: 6.801 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2952, allocations: 4 kB / 430.4 MB, free: 6.797 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.368e-05/0.2952, allocations: 8 kB / 430.4 MB, free: 6.789 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.2952, allocations: 0 / 430.4 MB, free: 6.789 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.2952, allocations: 7.984 kB / 430.4 MB, free: 6.781 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.615e-06/0.2952, allocations: 3.938 kB / 430.4 MB, free: 6.777 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2952, allocations: 0 / 430.4 MB, free: 6.777 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.2955, allocations: 170.6 kB / 430.6 MB, free: 6.586 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.396e-05/0.2956, allocations: 35.81 kB / 430.6 MB, free: 6.551 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.2956, allocations: 0 / 430.6 MB, free: 6.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.027e-05/0.2957, allocations: 8 kB / 430.6 MB, free: 6.543 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.2957, allocations: 7.984 kB / 430.7 MB, free: 6.535 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.2957, allocations: 4 kB / 430.7 MB, free: 6.531 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002179/0.2959, allocations: 192.5 kB / 430.8 MB, free: 6.344 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2959, allocations: 0 / 430.8 MB, free: 6.344 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002576/0.2962, allocations: 28 kB / 430.9 MB, free: 6.316 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,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.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.001665/0.2979, allocations: 456.5 kB / 431.3 MB, free: 6.051 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002324/0.2981, allocations: 83.77 kB / 431.4 MB, free: 5.969 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2981, allocations: 0 / 431.4 MB, free: 5.969 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.528e-05/0.2982, allocations: 27.98 kB / 431.4 MB, free: 5.941 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/0.2986, allocations: 48.44 kB / 431.5 MB, free: 5.895 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005786/0.2992, allocations: 313.8 kB / 431.8 MB, free: 5.559 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001298/0.2993, allocations: 127.2 kB / 431.9 MB, free: 5.414 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.386e-05/0.2994, allocations: 25.61 kB / 431.9 MB, free: 5.391 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.496e-05/0.2994, allocations: 19.44 kB / 431.9 MB, free: 5.371 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2994, allocations: 3.938 kB / 432 MB, free: 5.367 MB / 334.1 MB Notification: Performance of Templates: time 0.006479/0.3059, allocations: 2.628 MB / 434.6 MB, free: 2.777 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.791369976475835]