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.001714/0.001714, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001823/0.001823, allocations: 160.5 kB / 24.55 MB, free: 20 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.022/1.022, allocations: 177 MB / 204.8 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] 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.513e-06/1.513e-06, allocations: 0 / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.303e-05/2.455e-05, allocations: 2.312 kB / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002303/0.002327, allocations: 1.559 MB / 274.5 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000335/0.002662, allocations: 139.5 kB / 274.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.95e-05/0.002762, allocations: 7.938 kB / 274.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.082e-05/0.002812, allocations: 0 / 274.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001456/0.002958, allocations: 11.94 kB / 274.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.003197, allocations: 39.83 kB / 274.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.871e-05/0.003286, allocations: 23.88 kB / 274.7 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.003388, allocations: 11.97 kB / 274.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.802e-05/0.003436, allocations: 15.98 kB / 274.7 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.814e-05/0.003464, allocations: 7.938 kB / 274.7 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.003487, allocations: 7.984 kB / 274.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.267e-06/0.003496, allocations: 0 / 274.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.601e-05/0.003542, allocations: 7.984 kB / 274.7 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.461e-05/0.003567, allocations: 15.94 kB / 274.7 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.003675, allocations: 31.78 kB / 274.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.003677, allocations: 0 / 274.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.00368, allocations: 4 kB / 274.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.003685, allocations: 0 / 274.8 MB, free: 15.55 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.0003907/0.004076, allocations: 384.4 kB / 275.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.004113, allocations: 11.98 kB / 275.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.548e-05/0.004158, allocations: 8.891 kB / 275.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.004321, allocations: 132.5 kB / 275.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.00434, allocations: 8.375 kB / 275.3 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.315e-06/0.004348, allocations: 384 / 275.3 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.004547, allocations: 109.6 kB / 275.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.004554, allocations: 192 / 275.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.004562, allocations: 384 / 275.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.004569, allocations: 384 / 275.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.927e-05/0.004588, allocations: 15.86 kB / 275.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000236/0.004824, allocations: 259.5 kB / 275.7 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.075e-05/0.004875, allocations: 62.05 kB / 275.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.087e-05/0.004896, allocations: 15.38 kB / 275.8 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.004911, allocations: 8.062 kB / 275.8 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.004932, allocations: 37.39 kB / 275.8 MB, free: 14.35 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.004933, allocations: 0 / 275.8 MB, free: 14.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001316/0.005065, allocations: 49.53 kB / 275.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.005118, allocations: 81.09 kB / 275.9 MB, free: 14.2 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.383e-05/0.005212, allocations: 185.9 kB / 276.1 MB, free: 14 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.005222, allocations: 29.94 kB / 276.1 MB, free: 13.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.529e-05/0.005267, allocations: 134.9 kB / 276.3 MB, free: 13.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.088e-05/0.005278, allocations: 3.953 kB / 276.3 MB, free: 13.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-05/0.005301, allocations: 19.38 kB / 276.3 MB, free: 13.79 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.005412, allocations: 496.1 kB / 276.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.176e-06/0.00542, allocations: 0 / 276.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.013e-06/0.005427, allocations: 7.938 kB / 276.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.862e-05/0.005446, allocations: 11.69 kB / 276.8 MB, free: 13.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.005448, allocations: 0 / 276.8 MB, free: 13.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.689e-05/0.005484, allocations: 33.69 kB / 276.8 MB, free: 13.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.005501, allocations: 15.22 kB / 276.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.005506, allocations: 3.938 kB / 276.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.005518, allocations: 0 / 276.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.54e-05/0.005533, allocations: 0 / 276.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.217e-06/0.005538, allocations: 0 / 276.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.606e-05/0.005554, allocations: 0 / 276.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.005559, allocations: 4 kB / 276.9 MB, free: 13.21 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 6.024e-05/0.00562, allocations: 156.5 kB / 277 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.217e-05/0.005652, allocations: 45.64 kB / 277.1 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.527e-05/0.005677, allocations: 7.406 kB / 277.1 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.005679, allocations: 4.031 kB / 277.1 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.005683, allocations: 4 kB / 277.1 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.005687, allocations: 0 / 277.1 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.598e-05/0.005783, allocations: 124.6 kB / 277.2 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.005785, allocations: 4 kB / 277.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.028e-06/0.005789, allocations: 3.984 kB / 277.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.005791, allocations: 0 / 277.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.005798, allocations: 4 kB / 277.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.0058, allocations: 3.938 kB / 277.2 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.005801, allocations: 0 / 277.2 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.859e-05/0.005899, allocations: 207.5 kB / 277.4 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.178e-05/0.005921, allocations: 11.94 kB / 277.4 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.005932, allocations: 4 kB / 277.4 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.169e-05/0.005963, allocations: 3.938 kB / 277.4 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.872e-05/0.006002, allocations: 3.984 kB / 277.4 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.249e-06/0.006007, allocations: 4 kB / 277.4 MB, free: 12.56 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.429e-05/0.006062, allocations: 150 kB / 277.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006062, allocations: 0 / 277.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000135/0.006197, allocations: 4 kB / 277.6 MB, free: 12.41 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 6.632e-05/0.006263, allocations: 99.28 kB / 277.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.708e-05/0.00633, allocations: 15.62 kB / 277.7 MB, free: 12.28 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.006332, allocations: 0 / 277.7 MB, free: 12.28 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.147e-05/0.006343, allocations: 11.69 kB / 277.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.006567, allocations: 16.78 kB / 277.7 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002204/0.006788, allocations: 149.4 kB / 277.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.61e-05/0.006824, allocations: 59.34 kB / 277.9 MB, free: 12 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.299e-05/0.006837, allocations: 224 / 277.9 MB, free: 12 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.301e-05/0.00686, allocations: 20.44 kB / 278 MB, free: 11.98 MB / 266.7 MB Notification: Performance of SimCode: time 4.11e-07/0.00686, allocations: 0 / 278 MB, free: 11.98 MB / 266.7 MB Notification: Performance of Templates: time 0.00192/0.00878, allocations: 0.4886 MB / 278.4 MB, free: 11.49 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7270513367839158]