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.001788/0.001788, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002151/0.002151, allocations: 210.5 kB / 23.73 MB, free: 4.387 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.524/1.524, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.001737/0.001737, allocations: 51.92 kB / 378.2 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2919, allocations: 53.36 MB / 431.6 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002855/0.2948, allocations: 1.45 MB / 433 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003068/0.2951, allocations: 107.6 kB / 433.1 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.772e-05/0.2952, allocations: 0 / 433.1 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.69e-05/0.2952, allocations: 3.938 kB / 433.1 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.808e-05/0.2952, allocations: 0 / 433.1 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.2955, allocations: 27.86 kB / 433.2 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.606e-05/0.2956, allocations: 27.91 kB / 433.2 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.2957, allocations: 8 kB / 433.2 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.533e-05/0.2957, allocations: 11.92 kB / 433.2 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.564e-05/0.2958, allocations: 8 kB / 433.2 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.2958, allocations: 7.938 kB / 433.2 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.001e-05/0.2958, allocations: 0 / 433.2 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.649e-05/0.2958, allocations: 0 / 433.2 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.892e-05/0.2959, allocations: 15.92 kB / 433.2 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.739e-05/0.296, allocations: 31.69 kB / 433.3 MB, free: 5.039 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.296, allocations: 4 kB / 433.3 MB, free: 5.035 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.296, allocations: 0 / 433.3 MB, free: 5.035 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.296, allocations: 0 / 433.3 MB, free: 5.035 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004759/0.2965, allocations: 260.8 kB / 433.5 MB, free: 4.754 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.2965, allocations: 8.031 kB / 433.5 MB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.753e-05/0.2965, allocations: 4.938 kB / 433.5 MB, free: 4.742 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.2968, allocations: 122.4 kB / 433.7 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.2968, allocations: 4.375 kB / 433.7 MB, free: 4.594 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.2968, allocations: 4.375 kB / 433.7 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003164/0.2971, allocations: 99.88 kB / 433.8 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.2971, allocations: 4.188 kB / 433.8 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.2972, allocations: 3.938 kB / 433.8 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.2972, allocations: 0 / 433.8 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.068e-05/0.2972, allocations: 19.97 kB / 433.8 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001418/0.2974, allocations: 101.3 kB / 433.9 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.2975, allocations: 50.53 kB / 433.9 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.553e-05/0.2976, allocations: 20.89 kB / 434 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.2976, allocations: 0 / 434 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.2976, allocations: 34.56 kB / 434 MB, free: 4.199 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.2976, allocations: 0 / 434 MB, free: 4.199 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002244/0.2979, allocations: 69.56 kB / 434.1 MB, free: 4.125 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.066e-05/0.2979, allocations: 63.28 kB / 434.1 MB, free: 4.051 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.298, allocations: 101.8 kB / 434.2 MB, free: 3.941 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.2981, allocations: 25.7 kB / 434.2 MB, free: 3.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.054e-05/0.2981, allocations: 88.14 kB / 434.3 MB, free: 3.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.502e-06/0.2981, allocations: 0 / 434.3 MB, free: 3.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.2981, allocations: 21.72 kB / 434.4 MB, free: 3.793 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.2983, allocations: 318.8 kB / 434.7 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.352e-05/0.2983, allocations: 4 kB / 434.7 MB, free: 3.469 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.329e-05/0.2984, allocations: 27.44 kB / 434.7 MB, free: 3.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.953e-05/0.2984, allocations: 35.38 kB / 434.7 MB, free: 3.383 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2984, allocations: 0 / 434.7 MB, free: 3.383 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.344e-05/0.2985, allocations: 57.91 kB / 434.8 MB, free: 3.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.2985, allocations: 4 kB / 434.8 MB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2985, allocations: 0 / 434.8 MB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.021e-05/0.2985, allocations: 11.94 kB / 434.8 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.009e-05/0.2986, allocations: 11.92 kB / 434.8 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.2986, allocations: 0 / 434.8 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.11e-05/0.2986, allocations: 0 / 434.8 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.2986, allocations: 4 kB / 434.8 MB, free: 3.289 MB / 334.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 0.0001032/0.2987, allocations: 113.8 kB / 434.9 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.571e-05/0.2988, allocations: 49.73 kB / 435 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.129e-05/0.2989, allocations: 15.69 kB / 435 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.2989, allocations: 3.938 kB / 435 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2989, allocations: 0 / 435 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.2989, allocations: 0 / 435 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.299, allocations: 101.3 kB / 435.1 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.299, allocations: 0 / 435.1 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.003e-05/0.299, allocations: 3.938 kB / 435.1 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.299, allocations: 4 kB / 435.1 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.299, allocations: 0 / 435.1 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.299, allocations: 0 / 435.1 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.299, allocations: 3.938 kB / 435.1 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.2992, allocations: 85.44 kB / 435.2 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.388e-05/0.2992, allocations: 7.984 kB / 435.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.2992, allocations: 4 kB / 435.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.066e-05/0.2992, allocations: 7.938 kB / 435.2 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.159e-06/0.2992, allocations: 3.938 kB / 435.2 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.2992, allocations: 0 / 435.2 MB, free: 2.824 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.945e-05/0.2993, allocations: 83.27 kB / 435.3 MB, free: 2.742 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2993, allocations: 0 / 435.3 MB, free: 2.742 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001959/0.2995, allocations: 8 kB / 435.3 MB, free: 2.734 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 (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.0001379/0.2996, allocations: 99.25 kB / 435.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001375/0.2998, allocations: 23.92 kB / 435.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2998, allocations: 0 / 435.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.61e-07/0.2998, allocations: 0 / 435.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.3, allocations: 19.94 kB / 435.4 MB, free: 2.582 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003102/0.3003, allocations: 120 kB / 435.6 MB, free: 2.441 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.17e-05/0.3004, allocations: 75.27 kB / 435.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.739e-05/0.3004, allocations: 4.234 kB / 435.6 MB, free: 2.344 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.627e-05/0.3004, allocations: 15.44 kB / 435.7 MB, free: 2.328 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3004, allocations: 0 / 435.7 MB, free: 2.328 MB / 334.1 MB Notification: Performance of Templates: time 0.002564/0.303, allocations: 330.7 kB / 436 MB, free: 2.008 MB / 334.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/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: 4.546792661771178]