Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001842/0.001842, allocations: 75.73 kB / 21.24 MB, free: 396 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00224/0.00224, allocations: 164.8 kB / 24.49 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.471/1.471, allocations: 177.2 MB / 204.9 MB, free: 9.051 MB / 190.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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 42.61 kB / 325.6 MB, free: 308 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0961/0.09769, allocations: 53.34 MB / 378.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002836/0.1005, allocations: 1.526 MB / 380.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003655/0.1009, allocations: 139.5 kB / 380.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.554e-05/0.101, allocations: 3.938 kB / 380.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.189e-05/0.101, allocations: 7.938 kB / 380.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.1011, allocations: 11.91 kB / 380.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002152/0.1013, allocations: 35.92 kB / 380.6 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.368e-05/0.1014, allocations: 35.91 kB / 380.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.01e-05/0.1015, allocations: 15.92 kB / 380.7 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.162e-05/0.1015, allocations: 11.94 kB / 380.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.892e-05/0.1016, allocations: 11.92 kB / 380.7 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.1016, allocations: 4 kB / 380.7 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.528e-06/0.1016, allocations: 3.938 kB / 380.7 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.38e-05/0.1016, allocations: 8 kB / 380.7 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.318e-05/0.1017, allocations: 23.8 kB / 380.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.1018, allocations: 43.81 kB / 380.8 MB, free: 13.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1018, allocations: 0 / 380.8 MB, free: 13.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.1018, allocations: 4 kB / 380.8 MB, free: 13.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.1018, allocations: 4 kB / 380.8 MB, free: 13.82 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004189/0.1022, allocations: 290 kB / 381.1 MB, free: 13.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.1022, allocations: 12.03 kB / 381.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.832e-05/0.1023, allocations: 12.83 kB / 381.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.1025, allocations: 126.4 kB / 381.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.1025, allocations: 4.375 kB / 381.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.1025, allocations: 384 / 381.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002603/0.1028, allocations: 121.6 kB / 381.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.1028, allocations: 4.188 kB / 381.3 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.1028, allocations: 7.938 kB / 381.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1028, allocations: 0 / 381.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.902e-05/0.1028, allocations: 15.92 kB / 381.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002684/0.1031, allocations: 209.4 kB / 381.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.1032, allocations: 57.14 kB / 381.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.914e-05/0.1033, allocations: 21.78 kB / 381.6 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.1033, allocations: 7.938 kB / 381.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.1033, allocations: 38.56 kB / 381.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1033, allocations: 0 / 381.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002154/0.1036, allocations: 69.56 kB / 381.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/0.1036, allocations: 81.11 kB / 381.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.1037, allocations: 132.9 kB / 382 MB, free: 12.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.1038, allocations: 29.64 kB / 382 MB, free: 12.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.549e-05/0.1038, allocations: 88.12 kB / 382.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.677e-06/0.1038, allocations: 4 kB / 382.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.1039, allocations: 25.8 kB / 382.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.104, allocations: 314.8 kB / 382.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.26e-05/0.104, allocations: 7.984 kB / 382.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.217e-05/0.1041, allocations: 27.44 kB / 382.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.587e-05/0.1041, allocations: 47.3 kB / 382.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1041, allocations: 0 / 382.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001152/0.1043, allocations: 65.56 kB / 382.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.1043, allocations: 4 kB / 382.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1043, allocations: 7.938 kB / 382.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.1043, allocations: 0 / 382.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.01e-05/0.1043, allocations: 0 / 382.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.1043, allocations: 11.94 kB / 382.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.424e-05/0.1043, allocations: 7.984 kB / 382.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.1044, allocations: 4 kB / 382.6 MB, free: 11.78 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.845e-05/0.1044, allocations: 114 kB / 382.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.531e-05/0.1045, allocations: 57.58 kB / 382.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.06e-05/0.1045, allocations: 8 kB / 382.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1046, allocations: 0 / 382.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1046, allocations: 0 / 382.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1046, allocations: 0 / 382.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.1047, allocations: 121.2 kB / 382.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1047, allocations: 0 / 382.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.596e-05/0.1047, allocations: 4.312 kB / 382.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.1047, allocations: 3.938 kB / 382.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.1047, allocations: 3.938 kB / 382.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1047, allocations: 4 kB / 382.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1047, allocations: 4 kB / 382.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001626/0.1049, allocations: 160.3 kB / 383.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.851e-05/0.1049, allocations: 19.88 kB / 383.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.1049, allocations: 4 kB / 383.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.454e-05/0.105, allocations: 0 / 383.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.515e-05/0.105, allocations: 0 / 383.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.105, allocations: 7.984 kB / 383.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.428e-05/0.1051, allocations: 99.27 kB / 383.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1051, allocations: 0 / 383.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002276/0.1053, allocations: 4 kB / 383.2 MB, free: 11.1 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: 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 8.466e-05/0.1054, allocations: 107.2 kB / 383.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001114/0.1055, allocations: 23.98 kB / 383.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1055, allocations: 0 / 383.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.191e-05/0.1056, allocations: 7.938 kB / 383.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.1059, allocations: 23.95 kB / 383.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002859/0.1061, allocations: 150.3 kB / 383.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.814e-05/0.1062, allocations: 79.16 kB / 383.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.484e-05/0.1062, allocations: 0 / 383.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.298e-05/0.1063, allocations: 16.5 kB / 383.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1063, allocations: 0 / 383.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of Templates: time 0.002793/0.1091, allocations: 0.5464 MB / 384.1 MB, free: 10.11 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.31474706705194]