Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.001482/0.001482, allocations: 116.5 kB / 18.45 MB, free: 4.602 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.001506/0.001506, allocations: 190.7 kB / 21.4 MB, free: 1.664 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.364/1.364, allocations: 225.6 MB / 249.8 MB, free: 3.613 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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 51.92 kB / 366.8 MB, free: 356 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09388/0.09542, allocations: 52.15 MB / 419 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002789/0.09821, allocations: 1.415 MB / 420.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003079/0.09852, allocations: 107.6 kB / 420.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.559e-05/0.09858, allocations: 0 / 420.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.502e-05/0.09861, allocations: 7.875 kB / 420.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.528e-05/0.09864, allocations: 0 / 420.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002325/0.09887, allocations: 23.91 kB / 420.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.94e-05/0.09896, allocations: 27.92 kB / 420.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.278e-05/0.09906, allocations: 8 kB / 420.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.188e-05/0.09909, allocations: 11.92 kB / 420.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.544e-05/0.09912, allocations: 11.94 kB / 420.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.09914, allocations: 0 / 420.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.858e-06/0.09915, allocations: 4 kB / 420.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.167e-05/0.09917, allocations: 11.97 kB / 420.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.068e-05/0.0992, allocations: 7.938 kB / 420.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.091e-05/0.09929, allocations: 31.84 kB / 420.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.0993, allocations: 0 / 420.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.0993, allocations: 0 / 420.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.09931, allocations: 7.938 kB / 420.6 MB, free: 10.42 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004624/0.09977, allocations: 335.4 kB / 421 MB, free: 10.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.09981, allocations: 11.89 kB / 421 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.498e-05/0.09983, allocations: 0.9375 kB / 421 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.1001, allocations: 188.2 kB / 421.1 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.1001, allocations: 384 / 421.1 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.1001, allocations: 12.31 kB / 421.2 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002856/0.1004, allocations: 111.8 kB / 421.3 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1004, allocations: 192 / 421.3 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.1004, allocations: 3.938 kB / 421.3 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.1004, allocations: 0 / 421.3 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.154e-05/0.1005, allocations: 11.98 kB / 421.3 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001715/0.1007, allocations: 157.7 kB / 421.4 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.1008, allocations: 50.53 kB / 421.5 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.079e-05/0.1008, allocations: 20.88 kB / 421.5 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.1009, allocations: 4 kB / 421.5 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.1009, allocations: 34.56 kB / 421.5 MB, free: 9.328 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1009, allocations: 0 / 421.5 MB, free: 9.328 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002202/0.1011, allocations: 65.61 kB / 421.6 MB, free: 9.258 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.1012, allocations: 55.41 kB / 421.7 MB, free: 9.191 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.46e-05/0.1013, allocations: 109.8 kB / 421.8 MB, free: 9.074 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.1013, allocations: 25.7 kB / 421.8 MB, free: 9.043 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.929e-05/0.1013, allocations: 80.14 kB / 421.9 MB, free: 8.961 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.998e-06/0.1013, allocations: 8 kB / 421.9 MB, free: 8.953 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.904e-05/0.1014, allocations: 13.72 kB / 421.9 MB, free: 8.934 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1015, allocations: 318.8 kB / 422.2 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.003e-05/0.1015, allocations: 0 / 422.2 MB, free: 8.613 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.84e-05/0.1015, allocations: 27.44 kB / 422.2 MB, free: 8.574 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.715e-05/0.1016, allocations: 39.38 kB / 422.3 MB, free: 8.523 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.1016, allocations: 0 / 422.3 MB, free: 8.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.094e-05/0.1017, allocations: 65.58 kB / 422.3 MB, free: 8.453 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.1017, allocations: 4 kB / 422.3 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1017, allocations: 7.938 kB / 422.3 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1017, allocations: 0 / 422.3 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.154e-05/0.1018, allocations: 7.984 kB / 422.4 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.1018, allocations: 3.938 kB / 422.4 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.689e-05/0.1018, allocations: 0 / 422.4 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-06/0.1018, allocations: 4 kB / 422.4 MB, free: 8.426 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: 3 (assignClock1.y,assignClock1.u,step.y) * 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 7.878e-05/0.1019, allocations: 114 kB / 422.5 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.9e-05/0.102, allocations: 49.69 kB / 422.5 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.431e-05/0.102, allocations: 11.44 kB / 422.5 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.102, allocations: 3.938 kB / 422.5 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.102, allocations: 3.938 kB / 422.5 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.102, allocations: 0 / 422.5 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.1021, allocations: 161.6 kB / 422.7 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1021, allocations: 0 / 422.7 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.95e-05/0.1021, allocations: 4.25 kB / 422.7 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1021, allocations: 7.938 kB / 422.7 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.1021, allocations: 7.938 kB / 422.7 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1021, allocations: 0 / 422.7 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1021, allocations: 0 / 422.7 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.1023, allocations: 81.11 kB / 422.8 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.412e-05/0.1023, allocations: 85.05 kB / 422.9 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.1023, allocations: 3.938 kB / 422.9 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.877e-05/0.1024, allocations: 0 / 422.9 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.294e-06/0.1024, allocations: 4.375 kB / 422.9 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.1024, allocations: 4 kB / 422.9 MB, free: 7.789 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.511e-05/0.1024, allocations: 79.28 kB / 423 MB, free: 7.711 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1024, allocations: 0 / 423 MB, free: 7.711 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001804/0.1026, allocations: 8 kB / 423 MB, free: 7.703 MB / 350.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 (step.y,assignClock1.u,assignClock1.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 9.901e-05/0.1027, allocations: 105.3 kB / 423.1 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001113/0.1028, allocations: 19.94 kB / 423.1 MB, free: 7.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.1028, allocations: 4.25 kB / 423.1 MB, free: 7.566 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.264e-06/0.1028, allocations: 3.984 kB / 423.1 MB, free: 7.562 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.103, allocations: 30.14 kB / 423.1 MB, free: 7.535 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002576/0.1033, allocations: 135.3 kB / 423.3 MB, free: 7.371 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.1036, allocations: 0.6844 MB / 424 MB, free: 6.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.018e-05/0.1036, allocations: 7.438 kB / 424 MB, free: 6.652 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1036, allocations: 0 / 424 MB, free: 6.652 MB / 350.1 MB Notification: Performance of Templates: time 0.001886/0.1055, allocations: 0.5432 MB / 424.5 MB, free: 6.105 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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: 6.168498808052391]