Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.001549/0.001549, allocations: 92.27 kB / 20.96 MB, free: 3.441 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.001649/0.001649, allocations: 156.9 kB / 24.26 MB, free: 148 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.538/1.538, allocations: 177 MB / 204.4 MB, free: 5.617 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.305e-06/2.305e-06, allocations: 0 / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.394e-05/3.625e-05, allocations: 2.312 kB / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003832/0.003869, allocations: 1.536 MB / 273.7 MB, free: 264 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004696/0.004338, allocations: 131.5 kB / 273.9 MB, free: 132 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.795e-05/0.004416, allocations: 0 / 273.9 MB, free: 132 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.495e-05/0.004491, allocations: 3.938 kB / 273.9 MB, free: 128 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001675/0.004659, allocations: 11.92 kB / 273.9 MB, free: 116 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002827/0.004941, allocations: 39.78 kB / 273.9 MB, free: 76 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.005073, allocations: 35.91 kB / 274 MB, free: 40 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.005193, allocations: 11.98 kB / 274 MB, free: 28 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.933e-05/0.005262, allocations: 19.92 kB / 274 MB, free: 8 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.136e-05/0.005293, allocations: 4 kB / 274 MB, free: 4 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.584e-05/0.005319, allocations: 4 kB / 274 MB, free: 0 / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.514e-05/0.005354, allocations: 4.047 kB / 274 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.082e-05/0.005425, allocations: 19.86 kB / 274 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.182e-05/0.005467, allocations: 11.94 kB / 274 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.005627, allocations: 43.81 kB / 274.1 MB, free: 15.92 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.005633, allocations: 3.984 kB / 274.1 MB, free: 15.92 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.005634, allocations: 0 / 274.1 MB, free: 15.92 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.005639, allocations: 0 / 274.1 MB, free: 15.92 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005825/0.006222, allocations: 282.1 kB / 274.3 MB, free: 15.61 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.006274, allocations: 23.97 kB / 274.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.841e-05/0.006332, allocations: 12.89 kB / 274.4 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003148/0.006647, allocations: 125.7 kB / 274.5 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/0.006678, allocations: 8.375 kB / 274.5 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.00669, allocations: 384 / 274.5 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003812/0.007071, allocations: 117.5 kB / 274.6 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.007084, allocations: 8.125 kB / 274.6 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.007096, allocations: 384 / 274.6 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.007102, allocations: 384 / 274.6 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.116e-05/0.007183, allocations: 19.92 kB / 274.7 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003956/0.007578, allocations: 201.4 kB / 274.9 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.007772, allocations: 61.14 kB / 274.9 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.373e-05/0.007846, allocations: 25.77 kB / 274.9 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.00787, allocations: 0 / 274.9 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.007911, allocations: 34.56 kB / 275 MB, free: 14.88 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.007912, allocations: 7.938 kB / 275 MB, free: 14.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003021/0.008214, allocations: 69.61 kB / 275 MB, free: 14.79 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.644e-05/0.0083, allocations: 81.05 kB / 275.1 MB, free: 14.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.008469, allocations: 141.6 kB / 275.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.008492, allocations: 29.7 kB / 275.3 MB, free: 14.51 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.122e-05/0.008564, allocations: 88.08 kB / 275.4 MB, free: 14.42 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.036e-05/0.008574, allocations: 0 / 275.4 MB, free: 14.42 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.219e-05/0.008636, allocations: 21.7 kB / 275.4 MB, free: 14.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.008833, allocations: 310.8 kB / 275.7 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.931e-05/0.008862, allocations: 8.125 kB / 275.7 MB, free: 14.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.35e-05/0.008885, allocations: 4 kB / 275.7 MB, free: 14.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.153e-05/0.008937, allocations: 16.84 kB / 275.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.00894, allocations: 0 / 275.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001043/0.009044, allocations: 49.59 kB / 275.8 MB, free: 14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.009065, allocations: 7.984 kB / 275.8 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.485e-06/0.009073, allocations: 3.938 kB / 275.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.009089, allocations: 0 / 275.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.095e-05/0.0091, allocations: 96 / 275.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.009107, allocations: 8 kB / 275.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.256e-05/0.00913, allocations: 0 / 275.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.009136, allocations: 0 / 275.8 MB, free: 13.98 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 (step.y) * 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.0001076/0.009243, allocations: 113.8 kB / 275.9 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.726e-05/0.009331, allocations: 49.64 kB / 276 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.92e-05/0.00937, allocations: 16.17 kB / 276 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.009374, allocations: 3.984 kB / 276 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.341e-06/0.009381, allocations: 3.984 kB / 276 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.009386, allocations: 4 kB / 276 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.009555, allocations: 109.3 kB / 276.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.009556, allocations: 4 kB / 276.1 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.107e-05/0.009567, allocations: 7.938 kB / 276.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.00957, allocations: 0 / 276.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.009582, allocations: 4 kB / 276.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.009586, allocations: 3.938 kB / 276.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.009587, allocations: 0 / 276.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002086/0.009796, allocations: 160.3 kB / 276.3 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.793e-05/0.009834, allocations: 11.98 kB / 276.3 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.009847, allocations: 0 / 276.3 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.595e-05/0.009913, allocations: 7.938 kB / 276.3 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/0.009954, allocations: 11.98 kB / 276.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.009958, allocations: 3.938 kB / 276.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.335e-05/0.01004, allocations: 102.2 kB / 276.4 MB, free: 13.31 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01004, allocations: 3.938 kB / 276.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002345/0.01028, allocations: 11.95 kB / 276.4 MB, free: 13.29 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: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001334/0.01041, allocations: 95.25 kB / 276.5 MB, free: 13.19 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001176/0.01053, allocations: 15.98 kB / 276.5 MB, free: 13.17 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.01053, allocations: 0 / 276.5 MB, free: 13.17 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.815e-05/0.01056, allocations: 8.062 kB / 276.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005112/0.01107, allocations: 28.67 kB / 276.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000478/0.01155, allocations: 152.3 kB / 276.7 MB, free: 12.96 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.01166, allocations: 75.33 kB / 276.8 MB, free: 12.87 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.89e-05/0.01168, allocations: 0 / 276.8 MB, free: 12.87 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.188e-05/0.01171, allocations: 8.5 kB / 276.8 MB, free: 12.86 MB / 266.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01171, allocations: 0 / 276.8 MB, free: 12.86 MB / 266.7 MB Notification: Performance of Templates: time 0.003323/0.01503, allocations: 0.5234 MB / 277.3 MB, free: 12.35 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.3884089139755815]