Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 74.03 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002163/0.002163, allocations: 152.8 kB / 24.49 MB, free: 3.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 173.4 MB / 201.1 MB, free: 12.69 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 51.31 kB / 319.4 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09417/0.09577, allocations: 52.16 MB / 371.6 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.003224/0.09899, allocations: 1.486 MB / 373.1 MB, free: 5.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000802/0.0998, allocations: 423 kB / 373.5 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.83e-05/0.09986, allocations: 0 / 373.5 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.386e-05/0.0999, allocations: 3.938 kB / 373.5 MB, free: 5.434 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001632/0.1001, allocations: 27.84 kB / 373.5 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.1003, allocations: 35.53 kB / 373.5 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.1004, allocations: 51.84 kB / 373.6 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.1005, allocations: 11.94 kB / 373.6 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.339e-05/0.1006, allocations: 19.92 kB / 373.6 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.729e-05/0.1006, allocations: 23.91 kB / 373.6 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.1006, allocations: 4 kB / 373.6 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.292e-05/0.1006, allocations: 4 kB / 373.6 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.846e-05/0.1007, allocations: 15.92 kB / 373.7 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.48e-05/0.1007, allocations: 15.88 kB / 373.7 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.1008, allocations: 55.8 kB / 373.7 MB, free: 5.176 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1008, allocations: 0 / 373.7 MB, free: 5.176 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1008, allocations: 0 / 373.7 MB, free: 5.176 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.1008, allocations: 0 / 373.7 MB, free: 5.176 MB / 334.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.0005865/0.1014, allocations: 306.1 kB / 374 MB, free: 4.848 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.1015, allocations: 12.03 kB / 374 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.264e-05/0.1015, allocations: 8.891 kB / 374.1 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.1017, allocations: 122.5 kB / 374.2 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.1017, allocations: 384 / 374.2 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.1017, allocations: 4.375 kB / 374.2 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003666/0.1021, allocations: 151.4 kB / 374.3 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.1021, allocations: 4 kB / 374.3 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.1021, allocations: 3.984 kB / 374.3 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.1021, allocations: 7.938 kB / 374.3 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.1022, allocations: 31.97 kB / 374.4 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001259/0.1024, allocations: 101.3 kB / 374.5 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.1025, allocations: 50.61 kB / 374.5 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.581e-05/0.1026, allocations: 28.84 kB / 374.5 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.1026, allocations: 4 kB / 374.6 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.909e-05/0.1027, allocations: 34.5 kB / 374.6 MB, free: 4.207 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.1027, allocations: 4 kB / 374.6 MB, free: 4.203 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002762/0.103, allocations: 89.61 kB / 374.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/0.103, allocations: 59.41 kB / 374.7 MB, free: 4.039 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.1031, allocations: 117.8 kB / 374.8 MB, free: 3.914 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.1032, allocations: 25.7 kB / 374.9 MB, free: 3.883 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.254e-05/0.1032, allocations: 84.14 kB / 375 MB, free: 3.797 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.272e-05/0.1032, allocations: 3.984 kB / 375 MB, free: 3.793 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.322e-05/0.1033, allocations: 25.72 kB / 375 MB, free: 3.762 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1034, allocations: 314.8 kB / 375.3 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.022e-05/0.1034, allocations: 15.92 kB / 375.3 MB, free: 3.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.239e-05/0.1035, allocations: 53.08 kB / 375.4 MB, free: 3.359 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.1036, allocations: 53.08 kB / 375.4 MB, free: 3.289 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.1036, allocations: 0 / 375.4 MB, free: 3.289 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001127/0.1037, allocations: 77.72 kB / 375.5 MB, free: 3.207 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.1037, allocations: 4 kB / 375.5 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1038, allocations: 7.938 kB / 375.5 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.1038, allocations: 0 / 375.5 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.726e-05/0.1038, allocations: 8 kB / 375.5 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.1038, allocations: 3.938 kB / 375.5 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.558e-05/0.1039, allocations: 11.95 kB / 375.5 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.1039, allocations: 4 kB / 375.5 MB, free: 3.168 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,pulse.y) * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.422e-05/0.104, allocations: 113.8 kB / 375.6 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.1041, allocations: 65.67 kB / 375.7 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.765e-05/0.1041, allocations: 16.41 kB / 375.7 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.1041, allocations: 0 / 375.7 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1042, allocations: 0 / 375.7 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1042, allocations: 0 / 375.7 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.094e-05/0.1042, allocations: 113.2 kB / 375.8 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1042, allocations: 7.938 kB / 375.8 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.269e-05/0.1043, allocations: 7.984 kB / 375.8 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1043, allocations: 0 / 375.8 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.1043, allocations: 0 / 375.8 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.1043, allocations: 4.25 kB / 375.8 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1043, allocations: 4 kB / 375.9 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.1045, allocations: 101.1 kB / 376 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.425e-05/0.1045, allocations: 11.89 kB / 376 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.1045, allocations: 0 / 376 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.612e-05/0.1046, allocations: 19.92 kB / 376 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.164e-06/0.1046, allocations: 0 / 376 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.1046, allocations: 7.984 kB / 376 MB, free: 2.637 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.61e-05/0.1047, allocations: 83.28 kB / 376.1 MB, free: 2.555 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1047, allocations: 4 kB / 376.1 MB, free: 2.551 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002004/0.1049, allocations: 8 kB / 376.1 MB, free: 2.543 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (pulse.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.872e-05/0.105, allocations: 103.1 kB / 376.2 MB, free: 2.434 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001429/0.1051, allocations: 43.91 kB / 376.2 MB, free: 2.391 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1051, allocations: 0 / 376.2 MB, free: 2.391 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.51e-07/0.1051, allocations: 0 / 376.2 MB, free: 2.391 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.1054, allocations: 36.38 kB / 376.3 MB, free: 2.355 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000307/0.1057, allocations: 149.4 kB / 376.4 MB, free: 2.184 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.281e-05/0.1058, allocations: 67.34 kB / 376.5 MB, free: 2.098 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.525e-05/0.1058, allocations: 0 / 376.5 MB, free: 2.098 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.092e-05/0.1058, allocations: 16.44 kB / 376.5 MB, free: 2.078 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1058, allocations: 0 / 376.5 MB, free: 2.078 MB / 334.1 MB Notification: Performance of Templates: time 0.003083/0.1089, allocations: 0.6962 MB / 377.2 MB, free: 1.391 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.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.248463699012063]