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.001507/0.001507, allocations: 107 kB / 19.8 MB, free: 2.5 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.00187/0.00187, allocations: 216.3 kB / 23 MB, free: 5.574 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.681/1.681, allocations: 230.2 MB / 256.2 MB, free: 8.547 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.001835/0.001835, allocations: 67.88 kB / 376.5 MB, free: 3.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3966, allocations: 53.32 MB / 429.8 MB, free: 7.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.003241/0.3999, allocations: 1.519 MB / 431.3 MB, free: 6 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004287/0.4003, allocations: 131.6 kB / 431.4 MB, free: 5.871 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.802e-05/0.4004, allocations: 3.938 kB / 431.4 MB, free: 5.867 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.424e-05/0.4004, allocations: 3.984 kB / 431.4 MB, free: 5.863 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001701/0.4006, allocations: 7.938 kB / 431.5 MB, free: 5.855 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.4009, allocations: 35.84 kB / 431.5 MB, free: 5.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.401, allocations: 23.98 kB / 431.5 MB, free: 5.797 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.4011, allocations: 15.97 kB / 431.5 MB, free: 5.781 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.705e-05/0.4011, allocations: 15.88 kB / 431.5 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.888e-05/0.4012, allocations: 15.92 kB / 431.6 MB, free: 5.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.4012, allocations: 0 / 431.6 MB, free: 5.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.294e-05/0.4012, allocations: 4 kB / 431.6 MB, free: 5.746 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.685e-05/0.4013, allocations: 11.94 kB / 431.6 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.912e-05/0.4013, allocations: 15.86 kB / 431.6 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.4014, allocations: 43.62 kB / 431.6 MB, free: 5.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4014, allocations: 3.938 kB / 431.6 MB, free: 5.676 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4014, allocations: 0 / 431.6 MB, free: 5.676 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.4014, allocations: 0 / 431.6 MB, free: 5.676 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.0005558/0.402, allocations: 360.6 kB / 432 MB, free: 5.277 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.402, allocations: 12.03 kB / 432 MB, free: 5.266 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.971e-05/0.4021, allocations: 8.891 kB / 432 MB, free: 5.258 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003472/0.4024, allocations: 192.2 kB / 432.2 MB, free: 5.031 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.737e-05/0.4025, allocations: 384 / 432.2 MB, free: 5.031 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.4025, allocations: 8.312 kB / 432.2 MB, free: 5.023 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002741/0.4028, allocations: 81.69 kB / 432.3 MB, free: 4.926 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.4028, allocations: 192 / 432.3 MB, free: 4.926 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.4028, allocations: 11.92 kB / 432.3 MB, free: 4.914 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.4028, allocations: 3.938 kB / 432.3 MB, free: 4.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.811e-05/0.4029, allocations: 11.94 kB / 432.3 MB, free: 4.898 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003808/0.4033, allocations: 257.8 kB / 432.6 MB, free: 4.594 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.979e-05/0.4033, allocations: 53.09 kB / 432.6 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.915e-05/0.4034, allocations: 13.78 kB / 432.6 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.4034, allocations: 0 / 432.6 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.4034, allocations: 30.56 kB / 432.7 MB, free: 4.465 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.4034, allocations: 4 kB / 432.7 MB, free: 4.461 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002291/0.4037, allocations: 65.56 kB / 432.7 MB, free: 4.391 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.449e-05/0.4037, allocations: 81.11 kB / 432.8 MB, free: 4.293 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.4039, allocations: 128.5 kB / 432.9 MB, free: 4.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.4039, allocations: 29.7 kB / 433 MB, free: 4.125 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.868e-05/0.404, allocations: 80.14 kB / 433 MB, free: 4.043 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.234e-05/0.404, allocations: 4.203 kB / 433 MB, free: 4.039 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/0.404, allocations: 29.59 kB / 433.1 MB, free: 4.004 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.4042, allocations: 318.8 kB / 433.4 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.74e-05/0.4042, allocations: 4 kB / 433.4 MB, free: 3.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.996e-05/0.4042, allocations: 13.72 kB / 433.4 MB, free: 3.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.457e-05/0.4043, allocations: 29.77 kB / 433.4 MB, free: 3.625 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4043, allocations: 0 / 433.4 MB, free: 3.625 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.811e-05/0.4044, allocations: 53.56 kB / 433.5 MB, free: 3.566 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.4044, allocations: 4 kB / 433.5 MB, free: 3.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4044, allocations: 0 / 433.5 MB, free: 3.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.4044, allocations: 0 / 433.5 MB, free: 3.562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.131e-05/0.4044, allocations: 4 kB / 433.5 MB, free: 3.559 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.4044, allocations: 4 kB / 433.5 MB, free: 3.555 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.299e-05/0.4045, allocations: 0 / 433.5 MB, free: 3.555 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.4045, allocations: 0 / 433.5 MB, free: 3.555 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.0001024/0.4046, allocations: 125.8 kB / 433.6 MB, free: 3.422 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.038e-05/0.4046, allocations: 45.59 kB / 433.7 MB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.444e-05/0.4047, allocations: 11.48 kB / 433.7 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.4047, allocations: 0 / 433.7 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.4047, allocations: 0 / 433.7 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.4047, allocations: 0 / 433.7 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.4049, allocations: 169.6 kB / 433.8 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.4049, allocations: 0 / 433.8 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.09e-06/0.4049, allocations: 4 kB / 433.8 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.4049, allocations: 4.031 kB / 433.8 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-06/0.4049, allocations: 0 / 433.8 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.4049, allocations: 0 / 433.8 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.4049, allocations: 4 kB / 433.8 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.4051, allocations: 152.2 kB / 434 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.488e-05/0.4051, allocations: 96.98 kB / 434.1 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.4051, allocations: 8.016 kB / 434.1 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.62e-05/0.4052, allocations: 7.984 kB / 434.1 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.943e-05/0.4052, allocations: 0 / 434.1 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.4052, allocations: 0 / 434.1 MB, free: 2.828 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.541e-05/0.4053, allocations: 103.3 kB / 434.2 MB, free: 2.727 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4053, allocations: 0 / 434.2 MB, free: 2.727 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002262/0.4055, allocations: 4 kB / 434.2 MB, free: 2.723 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.0001126/0.4056, allocations: 99.19 kB / 434.3 MB, free: 2.617 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001252/0.4058, allocations: 23.92 kB / 434.3 MB, free: 2.594 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4058, allocations: 0 / 434.3 MB, free: 2.594 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.369e-05/0.4058, allocations: 4 kB / 434.3 MB, free: 2.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.4061, allocations: 19.95 kB / 434.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003297/0.4064, allocations: 142.3 kB / 434.5 MB, free: 2.402 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.4068, allocations: 0.6965 MB / 435.2 MB, free: 1.68 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.618e-05/0.4068, allocations: 0 / 435.2 MB, free: 1.68 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.221e-05/0.4068, allocations: 7.438 kB / 435.2 MB, free: 1.672 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4068, allocations: 0 / 435.2 MB, free: 1.672 MB / 334.1 MB Notification: Performance of Templates: time 0.002997/0.4098, allocations: 452.6 kB / 435.6 MB, free: 1.238 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.073313147760928]