Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001616/0.001616, allocations: 113.5 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001661/0.001661, allocations: 215.1 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.623/1.623, allocations: 230.4 MB / 251.1 MB, free: 8.438 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 67.84 kB / 368.9 MB, free: 6.062 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3083, allocations: 53.32 MB / 422.3 MB, free: 8.004 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.003347/0.3117, allocations: 1.449 MB / 423.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004399/0.3121, allocations: 103.7 kB / 423.8 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.103e-05/0.3122, allocations: 0 / 423.8 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.235e-05/0.3122, allocations: 0 / 423.8 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.443e-05/0.3122, allocations: 3.938 kB / 423.8 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000285/0.3125, allocations: 19.92 kB / 423.8 MB, free: 6.426 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.3126, allocations: 35.91 kB / 423.9 MB, free: 6.391 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.3128, allocations: 8 kB / 423.9 MB, free: 6.383 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.611e-05/0.3128, allocations: 7.938 kB / 423.9 MB, free: 6.375 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.206e-05/0.3129, allocations: 11.92 kB / 423.9 MB, free: 6.363 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.3129, allocations: 4 kB / 423.9 MB, free: 6.359 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.685e-05/0.3129, allocations: 4 kB / 423.9 MB, free: 6.355 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.298e-05/0.3129, allocations: 7.938 kB / 423.9 MB, free: 6.348 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.947e-05/0.313, allocations: 15.92 kB / 423.9 MB, free: 6.332 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.3131, allocations: 27.83 kB / 424 MB, free: 6.305 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3131, allocations: 0 / 424 MB, free: 6.305 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3131, allocations: 0 / 424 MB, free: 6.305 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.3131, allocations: 8 kB / 424 MB, free: 6.297 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.0005674/0.3136, allocations: 342.3 kB / 424.3 MB, free: 5.914 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.3137, allocations: 8.031 kB / 424.3 MB, free: 5.906 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.3137, allocations: 8.891 kB / 424.3 MB, free: 5.898 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003767/0.3141, allocations: 180.2 kB / 424.5 MB, free: 5.684 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.3141, allocations: 384 / 424.5 MB, free: 5.684 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.3141, allocations: 8.375 kB / 424.5 MB, free: 5.676 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000372/0.3145, allocations: 107.9 kB / 424.6 MB, free: 5.559 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.3145, allocations: 192 / 424.6 MB, free: 5.559 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.3145, allocations: 3.938 kB / 424.6 MB, free: 5.555 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.3145, allocations: 0 / 424.6 MB, free: 5.555 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.26e-05/0.3146, allocations: 19.98 kB / 424.6 MB, free: 5.535 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001894/0.3148, allocations: 161.6 kB / 424.8 MB, free: 5.328 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.315, allocations: 54.48 kB / 424.8 MB, free: 5.266 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.232e-05/0.315, allocations: 28.86 kB / 424.9 MB, free: 5.234 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.3151, allocations: 0 / 424.9 MB, free: 5.234 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.3151, allocations: 30.56 kB / 424.9 MB, free: 5.195 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.3151, allocations: 0 / 424.9 MB, free: 5.195 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002576/0.3154, allocations: 73.61 kB / 425 MB, free: 5.117 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.275e-05/0.3154, allocations: 55.41 kB / 425 MB, free: 5.051 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.3155, allocations: 109.8 kB / 425.1 MB, free: 4.934 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.3156, allocations: 29.7 kB / 425.2 MB, free: 4.898 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.379e-05/0.3156, allocations: 80.14 kB / 425.2 MB, free: 4.816 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.498e-06/0.3156, allocations: 3.984 kB / 425.2 MB, free: 4.812 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.3157, allocations: 21.66 kB / 425.3 MB, free: 4.785 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3158, allocations: 314.8 kB / 425.6 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.57e-05/0.3158, allocations: 8 kB / 425.6 MB, free: 4.461 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.583e-05/0.3159, allocations: 27.42 kB / 425.6 MB, free: 4.422 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.326e-05/0.3159, allocations: 39.38 kB / 425.6 MB, free: 4.371 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3159, allocations: 0 / 425.6 MB, free: 4.371 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.647e-05/0.316, allocations: 57.58 kB / 425.7 MB, free: 4.309 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.316, allocations: 4 kB / 425.7 MB, free: 4.305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.316, allocations: 3.938 kB / 425.7 MB, free: 4.301 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.3161, allocations: 4 kB / 425.7 MB, free: 4.297 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.62e-05/0.3161, allocations: 4 kB / 425.7 MB, free: 4.293 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.3161, allocations: 4 kB / 425.7 MB, free: 4.289 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.213e-05/0.3162, allocations: 4.406 kB / 425.7 MB, free: 4.285 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.3162, allocations: 3.938 kB / 425.7 MB, free: 4.281 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.0001135/0.3163, allocations: 121.8 kB / 425.8 MB, free: 4.152 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.3164, allocations: 61.67 kB / 425.9 MB, free: 4.086 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.23e-05/0.3165, allocations: 7.844 kB / 425.9 MB, free: 4.066 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3165, allocations: 0 / 425.9 MB, free: 4.066 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.3165, allocations: 0 / 425.9 MB, free: 4.066 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3165, allocations: 0 / 425.9 MB, free: 4.066 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.3166, allocations: 157.7 kB / 426.1 MB, free: 3.863 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3166, allocations: 4.25 kB / 426.1 MB, free: 3.859 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.649e-05/0.3167, allocations: 8 kB / 426.1 MB, free: 3.852 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.3167, allocations: 4 kB / 426.1 MB, free: 3.848 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.3167, allocations: 3.938 kB / 426.1 MB, free: 3.844 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3167, allocations: 3.938 kB / 426.1 MB, free: 3.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/0.3167, allocations: 11.92 kB / 426.1 MB, free: 3.828 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/0.3169, allocations: 85.06 kB / 426.2 MB, free: 3.727 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.16e-05/0.3169, allocations: 81.11 kB / 426.3 MB, free: 3.629 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.3169, allocations: 7.922 kB / 426.3 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.75e-05/0.317, allocations: 8 kB / 426.3 MB, free: 3.613 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-06/0.317, allocations: 0 / 426.3 MB, free: 3.613 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.317, allocations: 0 / 426.3 MB, free: 3.613 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.244e-05/0.317, allocations: 79.28 kB / 426.4 MB, free: 3.535 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.317, allocations: 0 / 426.4 MB, free: 3.535 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002027/0.3172, allocations: 8 kB / 426.4 MB, free: 3.527 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.0001447/0.3174, allocations: 103.2 kB / 426.5 MB, free: 3.418 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001587/0.3175, allocations: 27.92 kB / 426.5 MB, free: 3.391 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3175, allocations: 0 / 426.5 MB, free: 3.391 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4e-07/0.3175, allocations: 0 / 426.5 MB, free: 3.391 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.3178, allocations: 19.98 kB / 426.5 MB, free: 3.371 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003318/0.3181, allocations: 117.5 kB / 426.6 MB, free: 3.23 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004223/0.3185, allocations: 0.6848 MB / 427.3 MB, free: 2.52 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.548e-05/0.3186, allocations: 4 kB / 427.3 MB, free: 2.516 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.409e-05/0.3186, allocations: 11.44 kB / 427.3 MB, free: 2.504 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3186, allocations: 0 / 427.3 MB, free: 2.504 MB / 334.1 MB Notification: Performance of Templates: time 0.003404/0.322, allocations: 322.3 kB / 427.6 MB, free: 2.195 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches