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.002149/0.002149, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002642/0.002642, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.643/1.643, allocations: 230.3 MB / 258 MB, free: 8.242 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.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 0.002206/0.002206, allocations: 59.89 kB / 378.7 MB, free: 2.793 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3922/0.3944, allocations: 53.36 MB / 432.1 MB, free: 7.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.003376/0.3978, allocations: 1.52 MB / 433.6 MB, free: 5.555 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004919/0.3983, allocations: 139.5 kB / 433.8 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.3984, allocations: 0 / 433.8 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.359e-05/0.3985, allocations: 3.938 kB / 433.8 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000143/0.3986, allocations: 7.938 kB / 433.8 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.3989, allocations: 35.89 kB / 433.8 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.399, allocations: 31.92 kB / 433.8 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.3992, allocations: 8 kB / 433.9 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.459e-05/0.3992, allocations: 15.92 kB / 433.9 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.602e-05/0.3992, allocations: 7.938 kB / 433.9 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.3993, allocations: 11.88 kB / 433.9 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.463e-05/0.3993, allocations: 4 kB / 433.9 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.305e-05/0.3993, allocations: 3.984 kB / 433.9 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.313e-05/0.3994, allocations: 27.8 kB / 433.9 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.3995, allocations: 35.64 kB / 434 MB, free: 5.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.3995, allocations: 0 / 434 MB, free: 5.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3995, allocations: 0 / 434 MB, free: 5.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.3995, allocations: 4 kB / 434 MB, free: 5.227 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005636/0.4001, allocations: 284 kB / 434.2 MB, free: 4.922 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.4001, allocations: 15.97 kB / 434.3 MB, free: 4.906 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.4002, allocations: 4.891 kB / 434.3 MB, free: 4.902 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/0.4005, allocations: 141.3 kB / 434.4 MB, free: 4.742 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.4006, allocations: 384 / 434.4 MB, free: 4.742 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.4006, allocations: 4.375 kB / 434.4 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.4008, allocations: 89.62 kB / 434.5 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.4009, allocations: 192 / 434.5 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.4009, allocations: 3.938 kB / 434.5 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.4009, allocations: 0 / 434.5 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.166e-05/0.4009, allocations: 11.98 kB / 434.5 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004007/0.4013, allocations: 236.8 kB / 434.7 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.189e-05/0.4014, allocations: 45.14 kB / 434.8 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.98e-05/0.4015, allocations: 13.78 kB / 434.8 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.4015, allocations: 0 / 434.8 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.4015, allocations: 38.5 kB / 434.8 MB, free: 4.211 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.4015, allocations: 0 / 434.8 MB, free: 4.211 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002314/0.4018, allocations: 61.58 kB / 434.9 MB, free: 4.145 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.616e-05/0.4018, allocations: 77.11 kB / 435 MB, free: 4.051 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.402, allocations: 133.8 kB / 435.1 MB, free: 3.91 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.402, allocations: 25.7 kB / 435.1 MB, free: 3.879 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.154e-05/0.4021, allocations: 92.33 kB / 435.2 MB, free: 3.785 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.234e-05/0.4021, allocations: 7.953 kB / 435.2 MB, free: 3.777 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.615e-05/0.4021, allocations: 17.72 kB / 435.2 MB, free: 3.754 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.4023, allocations: 310.8 kB / 435.5 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.468e-05/0.4023, allocations: 7.984 kB / 435.5 MB, free: 3.434 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.161e-05/0.4023, allocations: 17.72 kB / 435.6 MB, free: 3.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.713e-05/0.4024, allocations: 29.7 kB / 435.6 MB, free: 3.375 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4024, allocations: 0 / 435.6 MB, free: 3.375 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001047/0.4025, allocations: 45.64 kB / 435.6 MB, free: 3.324 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.4025, allocations: 7.984 kB / 435.6 MB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.4025, allocations: 0 / 435.6 MB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.4025, allocations: 0 / 435.6 MB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.973e-05/0.4026, allocations: 11.88 kB / 435.7 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.4026, allocations: 0 / 435.7 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.025e-05/0.4026, allocations: 8.047 kB / 435.7 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.4026, allocations: 4 kB / 435.7 MB, free: 3.293 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 0.000106/0.4027, allocations: 117.8 kB / 435.8 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.211e-05/0.4028, allocations: 37.64 kB / 435.8 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.624e-05/0.4028, allocations: 15.42 kB / 435.8 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.4028, allocations: 0 / 435.8 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.4028, allocations: 0 / 435.8 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.4028, allocations: 4 kB / 435.8 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.403, allocations: 136.7 kB / 436 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.403, allocations: 8.031 kB / 436 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.52e-06/0.403, allocations: 0 / 436 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.403, allocations: 0 / 436 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.403, allocations: 4 kB / 436 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.403, allocations: 3.938 kB / 436 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.403, allocations: 0 / 436 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001992/0.4032, allocations: 160.3 kB / 436.1 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.972e-05/0.4033, allocations: 15.94 kB / 436.2 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.4033, allocations: 0 / 436.2 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.705e-05/0.4033, allocations: 0 / 436.2 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.4034, allocations: 4 kB / 436.2 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-06/0.4034, allocations: 0 / 436.2 MB, free: 2.715 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.734e-05/0.4035, allocations: 110.3 kB / 436.3 MB, free: 2.609 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4035, allocations: 3.938 kB / 436.3 MB, free: 2.605 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002314/0.4037, allocations: 0 / 436.3 MB, free: 2.605 MB / 334.1 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.0001148/0.4038, allocations: 99.28 kB / 436.4 MB, free: 2.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001293/0.404, allocations: 23.92 kB / 436.4 MB, free: 2.477 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.404, allocations: 0 / 436.4 MB, free: 2.477 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.024e-05/0.404, allocations: 4 kB / 436.4 MB, free: 2.473 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.4043, allocations: 21.75 kB / 436.4 MB, free: 2.457 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003557/0.4047, allocations: 146.7 kB / 436.6 MB, free: 2.285 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.405, allocations: 0.6846 MB / 437.3 MB, free: 1.574 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.456e-05/0.4051, allocations: 4 kB / 437.3 MB, free: 1.57 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.781e-05/0.4051, allocations: 7.438 kB / 437.3 MB, free: 1.562 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4051, allocations: 0 / 437.3 MB, free: 1.562 MB / 334.1 MB Notification: Performance of Templates: time 0.003859/0.409, allocations: 451 kB / 437.7 MB, free: 1.125 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 480] 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: 5.320680878125131]