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.001662/0.001662, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.001819/0.001819, allocations: 165.7 kB / 24.5 MB, free: 3.453 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.583/1.583, allocations: 177.1 MB / 204.7 MB, free: 9.012 MB / 190.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.001939/0.001939, allocations: 62.17 kB / 325.5 MB, free: 232 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1056, allocations: 53.39 MB / 378.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.003007/0.1086, allocations: 1.514 MB / 380.4 MB, free: 14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003943/0.109, allocations: 135.6 kB / 380.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.547e-05/0.1091, allocations: 3.938 kB / 380.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.825e-05/0.1091, allocations: 7.938 kB / 380.6 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.1092, allocations: 4 kB / 380.6 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002139/0.1094, allocations: 43.81 kB / 380.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.379e-05/0.1095, allocations: 31.86 kB / 380.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.69e-05/0.1096, allocations: 11.94 kB / 380.7 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.932e-05/0.1097, allocations: 7.938 kB / 380.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.06e-05/0.1097, allocations: 15.92 kB / 380.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.1097, allocations: 0 / 380.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.112e-05/0.1097, allocations: 4 kB / 380.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.293e-05/0.1098, allocations: 7.984 kB / 380.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.223e-05/0.1098, allocations: 23.86 kB / 380.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.1099, allocations: 31.84 kB / 380.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1099, allocations: 0 / 380.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1099, allocations: 0 / 380.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.1099, allocations: 0 / 380.7 MB, free: 13.67 MB / 350.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.0004143/0.1103, allocations: 286.1 kB / 381 MB, free: 13.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.1104, allocations: 15.92 kB / 381 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.027e-05/0.1104, allocations: 12.89 kB / 381.1 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.1106, allocations: 126.4 kB / 381.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.1106, allocations: 4.375 kB / 381.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.1106, allocations: 8.375 kB / 381.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000217/0.1109, allocations: 85.61 kB / 381.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.1109, allocations: 192 / 381.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.1109, allocations: 3.938 kB / 381.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.1109, allocations: 4 kB / 381.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.156e-05/0.1109, allocations: 11.98 kB / 381.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002727/0.1112, allocations: 201.5 kB / 381.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.157e-05/0.1113, allocations: 49.16 kB / 381.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.82e-05/0.1113, allocations: 13.78 kB / 381.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.1113, allocations: 7.875 kB / 381.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.1114, allocations: 38.55 kB / 381.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.1114, allocations: 0 / 381.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001903/0.1116, allocations: 57.58 kB / 381.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.1116, allocations: 85.05 kB / 381.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.1117, allocations: 133.3 kB / 381.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.1118, allocations: 25.95 kB / 381.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.518e-05/0.1118, allocations: 92.14 kB / 382 MB, free: 12.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.01e-05/0.1118, allocations: 3.953 kB / 382 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.1119, allocations: 17.72 kB / 382 MB, free: 12.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.112, allocations: 314.8 kB / 382.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.626e-05/0.112, allocations: 4 kB / 382.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.503e-05/0.1121, allocations: 17.72 kB / 382.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.111e-05/0.1121, allocations: 21.7 kB / 382.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1121, allocations: 0 / 382.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.026e-05/0.1122, allocations: 57.62 kB / 382.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1122, allocations: 8 kB / 382.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.1122, allocations: 0 / 382.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.1122, allocations: 0 / 382.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.46e-05/0.1122, allocations: 7.938 kB / 382.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.1123, allocations: 4 kB / 382.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.339e-05/0.1123, allocations: 0 / 382.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.1123, allocations: 0 / 382.4 MB, free: 11.77 MB / 350.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.036e-05/0.1124, allocations: 121.8 kB / 382.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.88e-05/0.1124, allocations: 45.66 kB / 382.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.926e-05/0.1125, allocations: 11.47 kB / 382.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1125, allocations: 0 / 382.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1125, allocations: 0 / 382.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.1125, allocations: 3.984 kB / 382.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.1126, allocations: 109.3 kB / 382.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1126, allocations: 0 / 382.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.591e-06/0.1126, allocations: 4 kB / 382.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.1126, allocations: 3.938 kB / 382.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.289e-06/0.1126, allocations: 0 / 382.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1126, allocations: 4.031 kB / 382.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/0.1126, allocations: 4 kB / 382.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.1128, allocations: 152.3 kB / 382.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.317e-05/0.1128, allocations: 23.86 kB / 382.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.1128, allocations: 0 / 382.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.691e-05/0.1129, allocations: 4 kB / 382.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3e-05/0.1129, allocations: 4 kB / 382.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.1129, allocations: 0 / 382.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.102e-05/0.113, allocations: 107.2 kB / 383 MB, free: 11.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.113, allocations: 0 / 383 MB, free: 11.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002111/0.1132, allocations: 8.031 kB / 383 MB, free: 11.11 MB / 350.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.866e-05/0.1133, allocations: 95.25 kB / 383.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001019/0.1134, allocations: 15.94 kB / 383.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1134, allocations: 0 / 383.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.019e-05/0.1134, allocations: 11.98 kB / 383.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.1137, allocations: 4.031 kB / 383.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002987/0.114, allocations: 150.5 kB / 383.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.508e-05/0.1141, allocations: 71.34 kB / 383.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.754e-05/0.1141, allocations: 3.984 kB / 383.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.681e-05/0.1141, allocations: 12.5 kB / 383.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1141, allocations: 0 / 383.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of Templates: time 0.002742/0.1169, allocations: 481.1 kB / 383.8 MB, free: 10.24 MB / 350.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 -s ida -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/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_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: 4.535183668951504]