Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.00109/0.00109, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001532/0.002622, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0009202/0.0009202, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001414/0.002335, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.9388/0.9388, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1686/1.107, allocations: 52.49 MB / 238.5 MB, free: 7.633 MB / 234.7 MB " [Timeout remaining time 179] 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 239.7 MB, free: 6.383 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.2e-05/2.366e-05, allocations: 7.219 kB / 239.7 MB, free: 6.375 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002286/0.00231, allocations: 1.583 MB / 241.3 MB, free: 4.801 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002479/0.002558, allocations: 147.4 kB / 241.5 MB, free: 4.656 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.397e-05/0.002622, allocations: 1.469 kB / 241.5 MB, free: 4.656 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 3.368e-05/0.002656, allocations: 3.938 kB / 241.5 MB, free: 4.652 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.786e-05/0.002723, allocations: 11.92 kB / 241.5 MB, free: 4.641 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001627/0.002886, allocations: 31.84 kB / 241.5 MB, free: 4.609 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 9.021e-05/0.002976, allocations: 28.73 kB / 241.5 MB, free: 4.582 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.851e-05/0.003055, allocations: 7.938 kB / 241.6 MB, free: 4.574 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.36e-05/0.003118, allocations: 25 kB / 241.6 MB, free: 4.551 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.989e-05/0.003148, allocations: 11.98 kB / 241.6 MB, free: 4.539 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.003168, allocations: 0 / 241.6 MB, free: 4.539 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.889e-06/0.003178, allocations: 7.125 kB / 241.6 MB, free: 4.535 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.102e-05/0.003219, allocations: 7.938 kB / 241.6 MB, free: 4.527 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.731e-05/0.003237, allocations: 7.938 kB / 241.6 MB, free: 4.52 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 9.648e-05/0.003333, allocations: 19.92 kB / 241.6 MB, free: 4.5 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.336e-05/0.003347, allocations: 4 kB / 241.6 MB, free: 4.496 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.003348, allocations: 0 / 241.6 MB, free: 4.496 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.948e-06/0.003358, allocations: 3.938 kB / 241.6 MB, free: 4.492 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003315/0.003689, allocations: 272.3 kB / 241.9 MB, free: 4.195 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.00372, allocations: 9.312 kB / 241.9 MB, free: 4.188 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.798e-05/0.003748, allocations: 8.938 kB / 241.9 MB, free: 4.18 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.003895, allocations: 125.7 kB / 242 MB, free: 4.031 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.003912, allocations: 9.422 kB / 242.1 MB, free: 4.023 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.847e-06/0.003921, allocations: 384 / 242.1 MB, free: 4.023 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.004066, allocations: 93.31 kB / 242.1 MB, free: 3.914 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.004073, allocations: 192 / 242.1 MB, free: 3.914 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.004081, allocations: 12.38 kB / 242.2 MB, free: 3.902 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.004085, allocations: 384 / 242.2 MB, free: 3.902 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.673e-05/0.004102, allocations: 19.84 kB / 242.2 MB, free: 3.883 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001605/0.004262, allocations: 141.2 kB / 242.3 MB, free: 3.727 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.487e-05/0.004307, allocations: 38.02 kB / 242.4 MB, free: 3.672 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.65e-05/0.004324, allocations: 14.62 kB / 242.4 MB, free: 3.652 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.004341, allocations: 12 kB / 242.4 MB, free: 3.641 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.00436, allocations: 30.56 kB / 242.4 MB, free: 3.602 MB / 234.7 MB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.004361, allocations: 0.9062 kB / 242.4 MB, free: 3.602 MB / 234.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001056/0.004467, allocations: 43.41 kB / 242.5 MB, free: 3.555 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.004506, allocations: 85.05 kB / 242.5 MB, free: 3.453 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.858e-05/0.004585, allocations: 134.6 kB / 242.7 MB, free: 3.309 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.004595, allocations: 25.7 kB / 242.7 MB, free: 3.277 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.003e-05/0.004625, allocations: 80.8 kB / 242.8 MB, free: 3.195 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.136e-05/0.004636, allocations: 11.94 kB / 242.8 MB, free: 3.184 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.272e-05/0.004659, allocations: 10.41 kB / 242.8 MB, free: 3.168 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.97e-05/0.004728, allocations: 314.8 kB / 243.1 MB, free: 2.852 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.023e-06/0.004735, allocations: 1.969 kB / 243.1 MB, free: 2.852 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.811e-06/0.004741, allocations: 0 / 243.1 MB, free: 2.852 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.983e-05/0.004761, allocations: 16.78 kB / 243.1 MB, free: 2.832 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.004764, allocations: 0 / 243.1 MB, free: 2.832 MB / 234.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.876e-05/0.004802, allocations: 31.17 kB / 243.1 MB, free: 2.797 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.004816, allocations: 8 kB / 243.2 MB, free: 2.789 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.00482, allocations: 0 / 243.2 MB, free: 2.789 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.004831, allocations: 0.625 kB / 243.2 MB, free: 2.789 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.573e-05/0.004847, allocations: 3.938 kB / 243.2 MB, free: 2.785 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.766e-06/0.004849, allocations: 0.5938 kB / 243.2 MB, free: 2.785 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.598e-05/0.004875, allocations: 4.516 kB / 243.2 MB, free: 2.781 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.00488, allocations: 7.984 kB / 243.2 MB, free: 2.773 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (sample1.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 5.237e-05/0.004932, allocations: 110.4 kB / 243.3 MB, free: 2.656 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.09e-05/0.004963, allocations: 37.64 kB / 243.3 MB, free: 2.613 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.87e-05/0.004992, allocations: 11.45 kB / 243.3 MB, free: 2.598 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.004994, allocations: 1.156 kB / 243.3 MB, free: 2.598 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.004997, allocations: 3.938 kB / 243.3 MB, free: 2.594 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.005001, allocations: 0 / 243.3 MB, free: 2.594 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.157e-05/0.005082, allocations: 70.89 kB / 243.4 MB, free: 2.508 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.005084, allocations: 3.984 kB / 243.4 MB, free: 2.504 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.549e-06/0.005089, allocations: 4 kB / 243.4 MB, free: 2.5 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.526e-05/0.005114, allocations: 12.95 kB / 243.4 MB, free: 2.488 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.005115, allocations: 0 / 243.4 MB, free: 2.488 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.958e-06/0.005119, allocations: 0 / 243.4 MB, free: 2.488 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.005122, allocations: 4.75 kB / 243.4 MB, free: 2.484 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.005124, allocations: 7.875 kB / 243.4 MB, free: 2.477 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.319e-05/0.005197, allocations: 141.6 kB / 243.6 MB, free: 2.32 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.556e-06/0.005206, allocations: 0 / 243.6 MB, free: 2.32 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.243e-05/0.005248, allocations: 9.656 kB / 243.6 MB, free: 2.312 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.585e-05/0.005274, allocations: 3.984 kB / 243.6 MB, free: 2.309 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.005278, allocations: 0 / 243.6 MB, free: 2.309 MB / 234.7 MB Notification: Performance of sorting global known variables: time 2.415e-05/0.005302, allocations: 28.02 kB / 243.6 MB, free: 2.281 MB / 234.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005302, allocations: 0 / 243.6 MB, free: 2.281 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001081/0.00541, allocations: 8.406 kB / 243.6 MB, free: 2.273 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 7.12e-05/0.005481, allocations: 84.41 kB / 243.7 MB, free: 2.184 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 5.394e-05/0.005535, allocations: 8.859 kB / 243.7 MB, free: 2.172 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.005539, allocations: 0 / 243.7 MB, free: 2.172 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 1.274e-05/0.005551, allocations: 12.8 kB / 243.7 MB, free: 2.156 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.005751, allocations: 71.7 kB / 243.8 MB, free: 2.07 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003992/0.00615, allocations: 147.7 kB / 243.9 MB, free: 1.898 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.749e-05/0.006188, allocations: 59.67 kB / 244 MB, free: 1.82 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 1.755e-05/0.006205, allocations: 3.984 kB / 244 MB, free: 1.816 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.965e-05/0.006255, allocations: 51.38 kB / 244.1 MB, free: 1.766 MB / 234.7 MB Notification: Performance of SimCode: time 8.01e-07/0.006256, allocations: 0 / 244.1 MB, free: 1.766 MB / 234.7 MB Notification: Performance of Templates: time 0.002039/0.008295, allocations: 0.5059 MB / 244.6 MB, free: 1.273 MB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5951881259679794]