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.001866/0.001866, allocations: 99.86 kB / 20.96 MB, free: 3.461 MB / 18.57 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.001878/0.001878, allocations: 149.1 kB / 24.26 MB, free: 168 kB / 18.57 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.558/1.558, allocations: 173.3 MB / 200.8 MB, free: 9.328 MB / 186.7 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.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 2.445e-06/2.445e-06, allocations: 0 / 267.3 MB, free: 6.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.25e-05/4.495e-05, allocations: 2.312 kB / 267.3 MB, free: 6.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.004848/0.004893, allocations: 1.499 MB / 268.8 MB, free: 5.242 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007425/0.005636, allocations: 147.4 kB / 269 MB, free: 5.098 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.005736, allocations: 4 kB / 269 MB, free: 5.094 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.628e-05/0.005822, allocations: 7.922 kB / 269 MB, free: 5.086 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001544/0.005977, allocations: 3.938 kB / 269 MB, free: 5.082 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00035/0.006327, allocations: 43.83 kB / 269 MB, free: 5.039 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.00646, allocations: 31.86 kB / 269 MB, free: 5.008 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.006583, allocations: 7.984 kB / 269.1 MB, free: 5 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.668e-05/0.006659, allocations: 15.98 kB / 269.1 MB, free: 4.984 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.399e-05/0.006703, allocations: 7.938 kB / 269.1 MB, free: 4.977 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.006728, allocations: 0 / 269.1 MB, free: 4.977 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.869e-05/0.006747, allocations: 4 kB / 269.1 MB, free: 4.973 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.642e-05/0.006813, allocations: 11.98 kB / 269.1 MB, free: 4.961 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.793e-05/0.006851, allocations: 7.922 kB / 269.1 MB, free: 4.953 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.007011, allocations: 35.84 kB / 269.1 MB, free: 4.918 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.007016, allocations: 0 / 269.1 MB, free: 4.918 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.007017, allocations: 4 kB / 269.1 MB, free: 4.914 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.007024, allocations: 0 / 269.1 MB, free: 4.914 MB / 250.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.0007602/0.007784, allocations: 392.1 kB / 269.5 MB, free: 4.492 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.007831, allocations: 8.922 kB / 269.5 MB, free: 4.484 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.686e-05/0.007898, allocations: 12.89 kB / 269.5 MB, free: 4.473 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000312/0.00821, allocations: 140.4 kB / 269.7 MB, free: 4.309 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.035e-05/0.00824, allocations: 8.375 kB / 269.7 MB, free: 4.301 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.008252, allocations: 384 / 269.7 MB, free: 4.301 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003902/0.008642, allocations: 100.9 kB / 269.8 MB, free: 4.18 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.008654, allocations: 4.188 kB / 269.8 MB, free: 4.176 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-06/0.008663, allocations: 384 / 269.8 MB, free: 4.176 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.008674, allocations: 4.359 kB / 269.8 MB, free: 4.172 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.008778, allocations: 15.94 kB / 269.8 MB, free: 4.156 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005579/0.009336, allocations: 271.5 kB / 270.1 MB, free: 3.852 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.009503, allocations: 50.19 kB / 270.1 MB, free: 3.777 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.281e-05/0.009596, allocations: 27.42 kB / 270.2 MB, free: 3.742 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.00962, allocations: 4 kB / 270.2 MB, free: 3.738 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.106e-05/0.009681, allocations: 41.33 kB / 270.2 MB, free: 3.688 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 1.703e-06/0.009683, allocations: 3.938 kB / 270.2 MB, free: 3.684 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003754/0.01006, allocations: 61.52 kB / 270.3 MB, free: 3.617 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/0.01018, allocations: 85.11 kB / 270.3 MB, free: 3.516 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002815/0.01047, allocations: 193.4 kB / 270.5 MB, free: 3.312 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.0105, allocations: 25.7 kB / 270.6 MB, free: 3.281 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.01063, allocations: 134.9 kB / 270.7 MB, free: 3.145 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.03e-05/0.01064, allocations: 256 / 270.7 MB, free: 3.145 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-05/0.01071, allocations: 27.33 kB / 270.7 MB, free: 3.109 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0004036/0.01111, allocations: 0.4884 MB / 271.2 MB, free: 2.609 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.883e-05/0.01116, allocations: 4 kB / 271.2 MB, free: 2.605 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.709e-05/0.01119, allocations: 4 kB / 271.2 MB, free: 2.602 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.447e-05/0.01129, allocations: 19.67 kB / 271.2 MB, free: 2.578 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01129, allocations: 4 kB / 271.2 MB, free: 2.574 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001571/0.01145, allocations: 37.64 kB / 271.3 MB, free: 2.531 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.01147, allocations: 4 kB / 271.3 MB, free: 2.527 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.01148, allocations: 8.031 kB / 271.3 MB, free: 2.52 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/0.0115, allocations: 7.984 kB / 271.3 MB, free: 2.512 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.696e-05/0.01152, allocations: 0 / 271.3 MB, free: 2.512 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.01152, allocations: 0 / 271.3 MB, free: 2.512 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.604e-05/0.01156, allocations: 0 / 271.3 MB, free: 2.512 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.01157, allocations: 0 / 271.3 MB, free: 2.512 MB / 250.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 0.0001631/0.01173, allocations: 160.6 kB / 271.4 MB, free: 2.344 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.01184, allocations: 37.66 kB / 271.5 MB, free: 2.301 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.241e-05/0.01189, allocations: 19.34 kB / 271.5 MB, free: 2.277 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.01189, allocations: 0 / 271.5 MB, free: 2.277 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.0119, allocations: 11.97 kB / 271.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.01191, allocations: 0 / 271.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002812/0.01219, allocations: 124.6 kB / 271.6 MB, free: 2.109 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.01219, allocations: 0 / 271.6 MB, free: 2.109 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.767e-06/0.0122, allocations: 4 kB / 271.6 MB, free: 2.105 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.0122, allocations: 0 / 271.6 MB, free: 2.105 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.01221, allocations: 0 / 271.6 MB, free: 2.105 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.01221, allocations: 3.938 kB / 271.6 MB, free: 2.102 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.628e-06/0.01222, allocations: 8 kB / 271.7 MB, free: 2.094 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003388/0.01256, allocations: 203.6 kB / 271.9 MB, free: 1.871 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.408e-05/0.01261, allocations: 16.02 kB / 271.9 MB, free: 1.855 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.01263, allocations: 3.938 kB / 271.9 MB, free: 1.852 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.01274, allocations: 7.938 kB / 271.9 MB, free: 1.844 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/0.01279, allocations: 7.922 kB / 271.9 MB, free: 1.836 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.01281, allocations: 0 / 271.9 MB, free: 1.836 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001621/0.01297, allocations: 139.2 kB / 272 MB, free: 1.699 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.01297, allocations: 4 kB / 272 MB, free: 1.695 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004102/0.01338, allocations: 4 kB / 272 MB, free: 1.691 MB / 250.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 0.0001671/0.01355, allocations: 99.23 kB / 272.1 MB, free: 1.586 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001723/0.01372, allocations: 19.69 kB / 272.1 MB, free: 1.562 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.821e-05/0.01374, allocations: 4 kB / 272.2 MB, free: 1.559 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.386e-05/0.01381, allocations: 19.67 kB / 272.2 MB, free: 1.535 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005189/0.01433, allocations: 18.84 kB / 272.2 MB, free: 1.516 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004877/0.01482, allocations: 153.3 kB / 272.3 MB, free: 1.336 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/0.01495, allocations: 75.23 kB / 272.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.185e-05/0.01498, allocations: 224 / 272.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.28e-05/0.01502, allocations: 16.5 kB / 272.4 MB, free: 1.223 MB / 250.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01502, allocations: 0 / 272.4 MB, free: 1.223 MB / 250.7 MB Notification: Performance of Templates: time 0.004978/0.02, allocations: 481.1 kB / 272.9 MB, free: 0.7578 MB / 250.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.260067168972455]