Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.002397/0.002397, allocations: 99.53 kB / 20.97 MB, free: 3.453 MB / 18.57 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.002481/0.002481, allocations: 160.8 kB / 24.27 MB, free: 152 kB / 18.57 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.609/1.609, allocations: 177 MB / 204.4 MB, free: 5.629 MB / 186.7 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 272.2 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.578e-05/3.718e-05, allocations: 2.312 kB / 272.2 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002948/0.002985, allocations: 1.522 MB / 273.7 MB, free: 300 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004155/0.0034, allocations: 135.5 kB / 273.8 MB, free: 164 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.1e-05/0.003461, allocations: 0 / 273.8 MB, free: 164 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.678e-05/0.003518, allocations: 7.922 kB / 273.8 MB, free: 156 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.003628, allocations: 15.88 kB / 273.9 MB, free: 140 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.003828, allocations: 31.84 kB / 273.9 MB, free: 108 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.408e-05/0.003923, allocations: 31.91 kB / 273.9 MB, free: 76 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.578e-05/0.004018, allocations: 11.98 kB / 273.9 MB, free: 64 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.865e-05/0.004067, allocations: 15.92 kB / 274 MB, free: 48 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.599e-05/0.004093, allocations: 4 kB / 274 MB, free: 44 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.00411, allocations: 0 / 274 MB, free: 44 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.406e-05/0.004124, allocations: 4 kB / 274 MB, free: 40 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.802e-05/0.004172, allocations: 15.92 kB / 274 MB, free: 24 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.571e-05/0.004198, allocations: 11.98 kB / 274 MB, free: 12 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.004312, allocations: 27.92 kB / 274 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.004319, allocations: 15.98 kB / 274 MB, free: 15.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.00432, allocations: 0 / 274 MB, free: 15.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.147e-06/0.004324, allocations: 0 / 274 MB, free: 15.96 MB / 266.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.0004977/0.004822, allocations: 384 kB / 274.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.00486, allocations: 15.98 kB / 274.4 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.549e-05/0.004916, allocations: 4.938 kB / 274.4 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.005128, allocations: 151.1 kB / 274.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.005144, allocations: 384 / 274.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.333e-06/0.005151, allocations: 384 / 274.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002356/0.005387, allocations: 104.9 kB / 274.7 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.005397, allocations: 4.172 kB / 274.7 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-06/0.005405, allocations: 384 / 274.7 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.005411, allocations: 4.375 kB / 274.7 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.119e-05/0.005472, allocations: 15.92 kB / 274.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000371/0.005843, allocations: 271.5 kB / 275 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.005951, allocations: 54.19 kB / 275 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.57e-05/0.006007, allocations: 27.42 kB / 275 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.006025, allocations: 4 kB / 275.1 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.006063, allocations: 37.33 kB / 275.1 MB, free: 14.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.006064, allocations: 0 / 275.1 MB, free: 14.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002279/0.006292, allocations: 69.52 kB / 275.2 MB, free: 14.67 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.771e-05/0.006359, allocations: 77.11 kB / 275.2 MB, free: 14.58 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.006532, allocations: 189.9 kB / 275.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.006555, allocations: 29.7 kB / 275.4 MB, free: 14.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.756e-05/0.006642, allocations: 130.9 kB / 275.6 MB, free: 14.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.883e-06/0.006649, allocations: 4.25 kB / 275.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.921e-05/0.006699, allocations: 27.33 kB / 275.6 MB, free: 14.17 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002805/0.006979, allocations: 0.4884 MB / 276.1 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.653e-05/0.007006, allocations: 0 / 276.1 MB, free: 13.67 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.362e-05/0.007029, allocations: 8 kB / 276.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.311e-05/0.007082, allocations: 19.67 kB / 276.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.007084, allocations: 0 / 276.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.048e-05/0.007174, allocations: 41.64 kB / 276.2 MB, free: 13.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.007191, allocations: 8.094 kB / 276.2 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.007199, allocations: 11.92 kB / 276.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.007211, allocations: 3.938 kB / 276.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-05/0.007223, allocations: 0 / 276.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.007226, allocations: 0 / 276.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.087e-05/0.007247, allocations: 0 / 276.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.007255, allocations: 4 kB / 276.2 MB, free: 13.56 MB / 266.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.0001118/0.007367, allocations: 152.6 kB / 276.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.652e-05/0.007433, allocations: 41.66 kB / 276.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.817e-05/0.007462, allocations: 15.33 kB / 276.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.007463, allocations: 8.031 kB / 276.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.007466, allocations: 0 / 276.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.007469, allocations: 0 / 276.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.007637, allocations: 128.6 kB / 276.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.007638, allocations: 0 / 276.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.651e-06/0.007644, allocations: 0 / 276.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.007645, allocations: 0 / 276.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.00766, allocations: 0 / 276.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.007664, allocations: 7.938 kB / 276.5 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.007664, allocations: 0 / 276.5 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.007879, allocations: 207.6 kB / 276.7 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.601e-05/0.007915, allocations: 15.94 kB / 276.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.00793, allocations: 4 kB / 276.8 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.636e-05/0.007987, allocations: 7.875 kB / 276.8 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.00802, allocations: 4 kB / 276.8 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.008026, allocations: 4 kB / 276.8 MB, free: 12.91 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001044/0.00813, allocations: 150.4 kB / 276.9 MB, free: 12.76 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.00813, allocations: 0 / 276.9 MB, free: 12.76 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002099/0.00834, allocations: 4 kB / 276.9 MB, free: 12.76 MB / 266.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.0001099/0.00845, allocations: 95.28 kB / 277 MB, free: 12.65 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001148/0.008565, allocations: 23.69 kB / 277 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.008566, allocations: 0 / 277 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.852e-05/0.008615, allocations: 15.67 kB / 277.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.008928, allocations: 24.09 kB / 277.1 MB, free: 12.58 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003108/0.009239, allocations: 149.4 kB / 277.2 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.609e-05/0.009325, allocations: 67.34 kB / 277.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.865e-05/0.009344, allocations: 4.219 kB / 277.3 MB, free: 12.31 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.035e-05/0.009374, allocations: 12.5 kB / 277.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.009375, allocations: 3.938 kB / 277.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of Templates: time 0.003123/0.0125, allocations: 499.3 kB / 277.8 MB, free: 11.82 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.406112064956687]