Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.001719/0.001719, allocations: 116 kB / 18.45 MB, free: 4.605 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.002233/0.002233, allocations: 208.3 kB / 21.41 MB, free: 1.648 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.637/1.637, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 47.88 kB / 374.1 MB, free: 9.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09793/0.09941, allocations: 53.33 MB / 427.5 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002717/0.1021, allocations: 1.445 MB / 428.9 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002859/0.1024, allocations: 99.67 kB / 429 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.904e-05/0.1025, allocations: 4 kB / 429 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.506e-05/0.1025, allocations: 0 / 429 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.645e-05/0.1025, allocations: 3.938 kB / 429 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.1028, allocations: 31.91 kB / 429.1 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.363e-05/0.1029, allocations: 27.92 kB / 429.1 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.761e-05/0.103, allocations: 4 kB / 429.1 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.049e-05/0.103, allocations: 11.94 kB / 429.1 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.045e-05/0.103, allocations: 15.92 kB / 429.1 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.103, allocations: 0 / 429.1 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.799e-06/0.1031, allocations: 4 kB / 429.1 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.399e-05/0.1031, allocations: 0 / 429.1 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.179e-05/0.1031, allocations: 15.92 kB / 429.1 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.543e-05/0.1032, allocations: 27.84 kB / 429.2 MB, free: 2.598 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.1032, allocations: 0 / 429.2 MB, free: 2.598 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1032, allocations: 4 kB / 429.2 MB, free: 2.594 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.1032, allocations: 3.938 kB / 429.2 MB, free: 2.59 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.0004386/0.1036, allocations: 339.5 kB / 429.5 MB, free: 2.207 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1037, allocations: 8.031 kB / 429.5 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.53e-05/0.1037, allocations: 4.938 kB / 429.5 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.1039, allocations: 176.3 kB / 429.7 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.104, allocations: 8.312 kB / 429.7 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.104, allocations: 4.375 kB / 429.7 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.1042, allocations: 103.9 kB / 429.8 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.1043, allocations: 192 / 429.8 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.1043, allocations: 7.922 kB / 429.8 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1043, allocations: 0 / 429.8 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.17e-05/0.1043, allocations: 15.98 kB / 429.8 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001734/0.1045, allocations: 153.7 kB / 430 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.1046, allocations: 46.56 kB / 430 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.558e-05/0.1047, allocations: 24.86 kB / 430 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.1047, allocations: 4 kB / 430 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.1047, allocations: 30.56 kB / 430.1 MB, free: 1.512 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.1048, allocations: 0 / 430.1 MB, free: 1.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.000206/0.105, allocations: 73.56 kB / 430.1 MB, free: 1.434 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.105, allocations: 55.41 kB / 430.2 MB, free: 1.367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.46e-05/0.1051, allocations: 101.9 kB / 430.3 MB, free: 1.258 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.1051, allocations: 25.7 kB / 430.3 MB, free: 1.227 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.084e-05/0.1051, allocations: 88.06 kB / 430.4 MB, free: 1.137 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.985e-06/0.1052, allocations: 4 kB / 430.4 MB, free: 1.133 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/0.1052, allocations: 17.72 kB / 430.4 MB, free: 1.109 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.1053, allocations: 310.8 kB / 430.7 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.231e-05/0.1053, allocations: 11.94 kB / 430.8 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.029e-05/0.1054, allocations: 27.42 kB / 430.8 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.431e-05/0.1054, allocations: 39.38 kB / 430.8 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1054, allocations: 4 kB / 430.8 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.84e-05/0.1055, allocations: 53.62 kB / 430.9 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.1055, allocations: 10.34 kB / 430.9 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.1055, allocations: 7.922 kB / 430.9 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1055, allocations: 0 / 430.9 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.852e-05/0.1056, allocations: 4 kB / 430.9 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.1056, allocations: 3.938 kB / 430.9 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.811e-05/0.1056, allocations: 0 / 430.9 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.426e-06/0.1056, allocations: 4.125 kB / 430.9 MB, free: 0.6055 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 8.501e-05/0.1057, allocations: 121.8 kB / 431 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.614e-05/0.1058, allocations: 57.88 kB / 431.1 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.912e-05/0.1058, allocations: 11.44 kB / 431.1 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.1058, allocations: 0 / 431.1 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.1058, allocations: 4 kB / 431.1 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1058, allocations: 0 / 431.1 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.1059, allocations: 153.7 kB / 431.2 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1059, allocations: 0 / 431.2 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.903e-05/0.1059, allocations: 4 kB / 431.2 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1059, allocations: 7.984 kB / 431.3 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.106, allocations: 4.266 kB / 431.3 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.106, allocations: 0 / 431.3 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.106, allocations: 0 / 431.3 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.1061, allocations: 85.05 kB / 431.3 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-05/0.1061, allocations: 85 kB / 431.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.1062, allocations: 3.938 kB / 431.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.509e-05/0.1062, allocations: 7.984 kB / 431.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.964e-06/0.1062, allocations: 0 / 431.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.1062, allocations: 4 kB / 431.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.582e-05/0.1062, allocations: 83.28 kB / 431.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1062, allocations: 0 / 431.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001821/0.1064, allocations: 4 kB / 431.5 MB, free: 15.87 MB / 366.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 0.0001186/0.1065, allocations: 99.25 kB / 431.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001068/0.1066, allocations: 24.11 kB / 431.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1066, allocations: 0 / 431.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.1066, allocations: 0 / 431.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/0.1069, allocations: 27.92 kB / 431.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002755/0.1071, allocations: 139.2 kB / 431.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.1074, allocations: 0.6807 MB / 432.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.34e-05/0.1074, allocations: 7.438 kB / 432.5 MB, free: 14.83 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1074, allocations: 0 / 432.5 MB, free: 14.83 MB / 366.1 MB Notification: Performance of Templates: time 0.001947/0.1094, allocations: 0.5549 MB / 433.1 MB, free: 14.28 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.706152977014426]