Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.007647/0.007647, allocations: 109.2 kB / 21.98 MB, free: 5.184 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.002053/0.002053, allocations: 220 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.474/1.474, allocations: 230.6 MB / 259 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 59.89 kB / 379.8 MB, free: 2.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2892, allocations: 53.36 MB / 433.2 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002856/0.2921, allocations: 1.524 MB / 434.7 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003933/0.2925, allocations: 131.6 kB / 434.8 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.037e-05/0.2925, allocations: 7.938 kB / 434.8 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.818e-05/0.2926, allocations: 3.938 kB / 434.8 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001249/0.2927, allocations: 7.969 kB / 434.8 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000238/0.2929, allocations: 35.86 kB / 434.9 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.293, allocations: 31.91 kB / 434.9 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.2932, allocations: 4 kB / 434.9 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.923e-05/0.2932, allocations: 19.92 kB / 434.9 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.802e-05/0.2932, allocations: 7.938 kB / 434.9 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.2932, allocations: 4 kB / 434.9 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.626e-06/0.2933, allocations: 0 / 434.9 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.267e-05/0.2933, allocations: 15.92 kB / 435 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.168e-05/0.2933, allocations: 15.88 kB / 435 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.2935, allocations: 43.62 kB / 435 MB, free: 5.125 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.618e-05/0.2935, allocations: 3.984 kB / 435 MB, free: 5.121 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2935, allocations: 3.938 kB / 435 MB, free: 5.117 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.2935, allocations: 0 / 435 MB, free: 5.117 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.0004645/0.294, allocations: 283.5 kB / 435.3 MB, free: 4.812 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.294, allocations: 8.031 kB / 435.3 MB, free: 4.805 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.213e-05/0.294, allocations: 12.83 kB / 435.3 MB, free: 4.793 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/0.2943, allocations: 141 kB / 435.5 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.2943, allocations: 384 / 435.5 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.2943, allocations: 384 / 435.5 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002239/0.2945, allocations: 89.62 kB / 435.5 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.2945, allocations: 4.172 kB / 435.5 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.2946, allocations: 3.938 kB / 435.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.2946, allocations: 4 kB / 435.6 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.215e-05/0.2946, allocations: 4 kB / 435.6 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00034/0.295, allocations: 228.9 kB / 435.8 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.652e-05/0.295, allocations: 53.08 kB / 435.8 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.142e-05/0.2951, allocations: 17.78 kB / 435.9 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.2951, allocations: 0 / 435.9 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.2951, allocations: 30.56 kB / 435.9 MB, free: 4.109 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.2951, allocations: 0 / 435.9 MB, free: 4.109 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002147/0.2954, allocations: 61.58 kB / 435.9 MB, free: 4.043 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.053e-05/0.2954, allocations: 89.03 kB / 436 MB, free: 3.938 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.2956, allocations: 129.8 kB / 436.2 MB, free: 3.801 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.2956, allocations: 25.7 kB / 436.2 MB, free: 3.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.38e-05/0.2956, allocations: 88.12 kB / 436.3 MB, free: 3.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.034e-05/0.2957, allocations: 3.953 kB / 436.3 MB, free: 3.676 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/0.2957, allocations: 17.97 kB / 436.3 MB, free: 3.652 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.2958, allocations: 326.8 kB / 436.6 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.755e-05/0.2959, allocations: 0 / 436.6 MB, free: 3.324 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.009e-05/0.2959, allocations: 13.72 kB / 436.6 MB, free: 3.305 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.339e-05/0.296, allocations: 25.7 kB / 436.6 MB, free: 3.273 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.296, allocations: 4.062 kB / 436.6 MB, free: 3.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001017/0.2961, allocations: 53.56 kB / 436.7 MB, free: 3.211 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.2961, allocations: 8 kB / 436.7 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2961, allocations: 0 / 436.7 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.2961, allocations: 0 / 436.7 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.388e-05/0.2961, allocations: 0 / 436.7 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.2961, allocations: 4 kB / 436.7 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.294e-05/0.2961, allocations: 0 / 436.7 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.2961, allocations: 0 / 436.7 MB, free: 3.199 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 9.41e-05/0.2962, allocations: 125.8 kB / 436.8 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.17e-05/0.2963, allocations: 45.62 kB / 436.9 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.207e-05/0.2963, allocations: 15.42 kB / 436.9 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2963, allocations: 0 / 436.9 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.2963, allocations: 0 / 436.9 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2963, allocations: 0 / 436.9 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.2965, allocations: 136.7 kB / 437 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.2965, allocations: 11.94 kB / 437 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.411e-06/0.2965, allocations: 0 / 437 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.2965, allocations: 4.031 kB / 437 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.2965, allocations: 0 / 437 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2965, allocations: 0 / 437 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2965, allocations: 4 kB / 437 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.2967, allocations: 156.2 kB / 437.2 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.424e-05/0.2967, allocations: 15.94 kB / 437.2 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.2968, allocations: 4 kB / 437.2 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.557e-05/0.2968, allocations: 4.031 kB / 437.2 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.802e-05/0.2968, allocations: 0 / 437.2 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.2969, allocations: 4 kB / 437.2 MB, free: 2.602 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.753e-05/0.2969, allocations: 102.3 kB / 437.3 MB, free: 2.504 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2969, allocations: 0 / 437.3 MB, free: 2.504 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002194/0.2971, allocations: 8 kB / 437.3 MB, free: 2.496 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 9.173e-05/0.2972, allocations: 95.25 kB / 437.4 MB, free: 2.395 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000115/0.2974, allocations: 23.86 kB / 437.5 MB, free: 2.371 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.2974, allocations: 4 kB / 437.5 MB, free: 2.367 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.462e-05/0.2974, allocations: 4 kB / 437.5 MB, free: 2.363 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.2977, allocations: 23.52 kB / 437.5 MB, free: 2.344 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003281/0.298, allocations: 164.2 kB / 437.6 MB, free: 2.148 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.2984, allocations: 0.6887 MB / 438.3 MB, free: 1.434 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.431e-05/0.2984, allocations: 15.44 kB / 438.3 MB, free: 1.418 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2984, allocations: 0 / 438.3 MB, free: 1.418 MB / 334.1 MB Notification: Performance of Templates: time 0.002123/0.3005, allocations: 0.6247 MB / 439 MB, free: 0.793 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 6.744742766022682]