Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.001792/0.001792, allocations: 73.72 kB / 21.24 MB, free: 0.5547 MB / 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.001504/0.001504, allocations: 160.6 kB / 24.5 MB, free: 3.715 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.422/1.422, allocations: 177.2 MB / 204.9 MB, free: 8.996 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_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_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 59.62 kB / 325.6 MB, free: 468 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1019, allocations: 53.34 MB / 378.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002723/0.1047, allocations: 1.506 MB / 380.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003718/0.105, allocations: 135.6 kB / 380.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.276e-05/0.1051, allocations: 3.938 kB / 380.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.282e-05/0.1051, allocations: 3.938 kB / 380.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001144/0.1053, allocations: 7.938 kB / 380.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.1055, allocations: 39.89 kB / 380.6 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.832e-05/0.1056, allocations: 27.86 kB / 380.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.391e-05/0.1057, allocations: 15.92 kB / 380.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.664e-05/0.1057, allocations: 4 kB / 380.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.677e-05/0.1057, allocations: 19.86 kB / 380.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.1057, allocations: 0 / 380.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.044e-05/0.1057, allocations: 7.938 kB / 380.7 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.037e-05/0.1058, allocations: 8 kB / 380.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.291e-05/0.1058, allocations: 19.86 kB / 380.7 MB, free: 14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.943e-05/0.1059, allocations: 35.83 kB / 380.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1059, allocations: 4 kB / 380.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1059, allocations: 0 / 380.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.936e-06/0.1059, allocations: 0 / 380.7 MB, free: 13.96 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.0004325/0.1064, allocations: 286.1 kB / 381 MB, free: 13.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.1064, allocations: 8.031 kB / 381 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.102e-05/0.1064, allocations: 8.891 kB / 381 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.1067, allocations: 134.4 kB / 381.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.1067, allocations: 4.375 kB / 381.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.1067, allocations: 384 / 381.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.1069, allocations: 93.61 kB / 381.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.1069, allocations: 4.172 kB / 381.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1069, allocations: 3.938 kB / 381.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1069, allocations: 0 / 381.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.518e-05/0.107, allocations: 15.98 kB / 381.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002867/0.1073, allocations: 205.5 kB / 381.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.913e-05/0.1073, allocations: 41.16 kB / 381.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.523e-05/0.1074, allocations: 13.78 kB / 381.5 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.1074, allocations: 3.938 kB / 381.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.1074, allocations: 42.48 kB / 381.6 MB, free: 12.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1074, allocations: 0 / 381.6 MB, free: 12.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002035/0.1076, allocations: 57.64 kB / 381.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.097e-05/0.1077, allocations: 81.05 kB / 381.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.1078, allocations: 141.1 kB / 381.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.1078, allocations: 25.7 kB / 381.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.626e-05/0.1079, allocations: 84.14 kB / 382 MB, free: 12.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.606e-06/0.1079, allocations: 3.953 kB / 382 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.1079, allocations: 17.72 kB / 382 MB, free: 12.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1081, allocations: 318.8 kB / 382.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.552e-05/0.1081, allocations: 0 / 382.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.857e-05/0.1081, allocations: 21.72 kB / 382.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.554e-05/0.1082, allocations: 25.77 kB / 382.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1082, allocations: 0 / 382.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.342e-05/0.1083, allocations: 53.56 kB / 382.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.1083, allocations: 4 kB / 382.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.1083, allocations: 0 / 382.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.1083, allocations: 0 / 382.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.243e-05/0.1083, allocations: 4 kB / 382.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.1083, allocations: 3.938 kB / 382.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.357e-05/0.1083, allocations: 0 / 382.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.1084, allocations: 4 kB / 382.4 MB, free: 12.07 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 8.475e-05/0.1084, allocations: 125.8 kB / 382.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.954e-05/0.1085, allocations: 45.53 kB / 382.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.632e-05/0.1085, allocations: 7.469 kB / 382.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.1085, allocations: 0 / 382.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.1085, allocations: 0 / 382.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.1085, allocations: 7.984 kB / 382.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.1087, allocations: 113.3 kB / 382.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1087, allocations: 0 / 382.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-06/0.1087, allocations: 0 / 382.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1087, allocations: 3.938 kB / 382.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.1087, allocations: 4.031 kB / 382.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1087, allocations: 4 kB / 382.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1087, allocations: 0 / 382.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001491/0.1088, allocations: 156.3 kB / 382.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.989e-05/0.1089, allocations: 19.88 kB / 382.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.1089, allocations: 4 kB / 382.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.633e-05/0.1089, allocations: 4 kB / 382.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.502e-05/0.109, allocations: 0 / 382.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-06/0.109, allocations: 0 / 382.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.135e-05/0.109, allocations: 103.3 kB / 383 MB, free: 11.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.109, allocations: 4 kB / 383 MB, free: 11.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002218/0.1093, allocations: 8 kB / 383 MB, free: 11.4 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 8.463e-05/0.1093, allocations: 95.25 kB / 383.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.819e-05/0.1094, allocations: 11.94 kB / 383.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1094, allocations: 0 / 383.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.909e-05/0.1095, allocations: 11.98 kB / 383.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.1098, allocations: 18.19 kB / 383.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002771/0.11, allocations: 154.3 kB / 383.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.271e-05/0.1101, allocations: 67.34 kB / 383.4 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.698e-05/0.1101, allocations: 3.984 kB / 383.4 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.139e-05/0.1101, allocations: 8.5 kB / 383.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1101, allocations: 0 / 383.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of Templates: time 0.002677/0.1128, allocations: 489.6 kB / 383.8 MB, free: 10.52 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.09611109807156]