Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.001822/0.001822, allocations: 69.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.002219/0.002219, allocations: 162.5 kB / 24.5 MB, free: 3.711 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.486/1.486, allocations: 177.2 MB / 204.9 MB, free: 9.012 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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 59.77 kB / 325.6 MB, free: 480 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09467/0.0962, allocations: 53.33 MB / 378.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002629/0.09883, allocations: 1.44 MB / 380.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001883/0.09902, allocations: 31.84 kB / 380.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.82e-05/0.09908, allocations: 0 / 380.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.724e-05/0.09911, allocations: 0 / 380.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.316e-05/0.09914, allocations: 7.938 kB / 380.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.09938, allocations: 19.97 kB / 380.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.71e-05/0.09947, allocations: 27.92 kB / 380.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.09957, allocations: 15.98 kB / 380.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.663e-05/0.09961, allocations: 7.938 kB / 380.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.564e-05/0.09966, allocations: 15.92 kB / 380.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.09968, allocations: 7.984 kB / 380.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.205e-06/0.09969, allocations: 3.938 kB / 380.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.074e-05/0.09971, allocations: 8 kB / 380.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.051e-05/0.09974, allocations: 7.938 kB / 380.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.09984, allocations: 31.83 kB / 380.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.09985, allocations: 0 / 380.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.09985, allocations: 3.938 kB / 380.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.09986, allocations: 0 / 380.5 MB, free: 14.18 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.0004414/0.1003, allocations: 270.3 kB / 380.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.1003, allocations: 8.031 kB / 380.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.264e-05/0.1004, allocations: 4.938 kB / 380.8 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.1006, allocations: 122.4 kB / 380.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.1006, allocations: 8.375 kB / 380.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.1006, allocations: 4.375 kB / 380.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003493/0.101, allocations: 111.9 kB / 381 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.101, allocations: 8.172 kB / 381.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.101, allocations: 7.922 kB / 381.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.101, allocations: 0 / 381.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.1011, allocations: 23.98 kB / 381.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000115/0.1012, allocations: 97.31 kB / 381.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.1014, allocations: 50.5 kB / 381.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.16e-05/0.1014, allocations: 24.92 kB / 381.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.1014, allocations: 0 / 381.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.1015, allocations: 34.56 kB / 381.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.1015, allocations: 0 / 381.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002831/0.1018, allocations: 93.48 kB / 381.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.1018, allocations: 51.41 kB / 381.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.753e-05/0.1019, allocations: 105.8 kB / 381.5 MB, free: 13.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.1019, allocations: 25.7 kB / 381.6 MB, free: 13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.03e-05/0.102, allocations: 80.14 kB / 381.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.293e-05/0.102, allocations: 4 kB / 381.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.148e-05/0.102, allocations: 17.72 kB / 381.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1021, allocations: 318.8 kB / 382 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.355e-05/0.1022, allocations: 4 kB / 382 MB, free: 12.56 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.332e-05/0.1022, allocations: 31.38 kB / 382 MB, free: 12.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.103e-05/0.1022, allocations: 39.38 kB / 382 MB, free: 12.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1022, allocations: 0 / 382 MB, free: 12.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.874e-05/0.1023, allocations: 65.58 kB / 382.1 MB, free: 12.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.1023, allocations: 10.81 kB / 382.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.1023, allocations: 0 / 382.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1024, allocations: 7.875 kB / 382.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.068e-05/0.1024, allocations: 8.109 kB / 382.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1024, allocations: 7.938 kB / 382.1 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.876e-05/0.1024, allocations: 4 kB / 382.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-06/0.1024, allocations: 0 / 382.1 MB, free: 12.36 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: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.684e-05/0.1025, allocations: 113.8 kB / 382.3 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.1027, allocations: 61.61 kB / 382.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.538e-05/0.1027, allocations: 11.69 kB / 382.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1027, allocations: 3.938 kB / 382.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1027, allocations: 0 / 382.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.1027, allocations: 0 / 382.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.771e-05/0.1028, allocations: 101.3 kB / 382.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1028, allocations: 4 kB / 382.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.216e-05/0.1028, allocations: 4.375 kB / 382.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1028, allocations: 0 / 382.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.1028, allocations: 8 kB / 382.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1028, allocations: 0 / 382.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1028, allocations: 3.938 kB / 382.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/0.103, allocations: 93.28 kB / 382.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.185e-05/0.103, allocations: 7.922 kB / 382.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.103, allocations: 4 kB / 382.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.981e-05/0.1031, allocations: 4 kB / 382.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-06/0.1031, allocations: 7.938 kB / 382.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-06/0.1031, allocations: 4 kB / 382.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.899e-05/0.1031, allocations: 91.2 kB / 382.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1031, allocations: 0 / 382.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001867/0.1033, allocations: 7.938 kB / 382.7 MB, free: 11.77 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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.604e-05/0.1034, allocations: 95.25 kB / 382.8 MB, free: 11.67 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001319/0.1035, allocations: 23.98 kB / 382.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1035, allocations: 3.938 kB / 382.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.1035, allocations: 256 / 382.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.1038, allocations: 27.17 kB / 382.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002882/0.1041, allocations: 117.6 kB / 382.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.559e-05/0.1041, allocations: 63.34 kB / 383 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.346e-05/0.1041, allocations: 0 / 383 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.197e-05/0.1042, allocations: 12.5 kB / 383 MB, free: 11.38 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1042, allocations: 0 / 383 MB, free: 11.38 MB / 350.1 MB Notification: Performance of Templates: time 0.002453/0.1066, allocations: 404.3 kB / 383.4 MB, free: 10.99 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.155450900900178]