Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 98.67 kB / 16.02 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001475/0.001476, allocations: 191.4 kB / 16.95 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.802/1.802, allocations: 205.1 MB / 222.8 MB, free: 12.44 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08402/0.08402, allocations: 12.58 MB / 282.7 MB, free: 15.64 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002024, allocations: 87.89 kB / 343 MB, free: 3.301 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3115, allocations: 49.38 MB / 392.4 MB, free: 49.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.003082/0.3147, allocations: 1.5 MB / 393.9 MB, free: 48.13 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002596/0.315, allocations: 91.16 kB / 393.9 MB, free: 48.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.125e-05/0.315, allocations: 1.344 kB / 393.9 MB, free: 48.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.304e-05/0.3151, allocations: 4.641 kB / 394 MB, free: 48.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.747e-05/0.3151, allocations: 0 / 394 MB, free: 48.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.3154, allocations: 25.92 kB / 394 MB, free: 48.05 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.404e-05/0.3154, allocations: 29.44 kB / 394 MB, free: 48.04 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.3156, allocations: 6.188 kB / 394 MB, free: 48.04 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.44e-05/0.3156, allocations: 13.48 kB / 394 MB, free: 48.03 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.729e-05/0.3157, allocations: 16.75 kB / 394 MB, free: 48.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.3157, allocations: 2.031 kB / 394 MB, free: 48.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.264e-05/0.3157, allocations: 2.188 kB / 394 MB, free: 48.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.089e-05/0.3157, allocations: 6.328 kB / 394.1 MB, free: 48.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.43e-05/0.3158, allocations: 11.89 kB / 394.1 MB, free: 48.01 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.166e-05/0.3159, allocations: 28.98 kB / 394.1 MB, free: 47.99 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3159, allocations: 9 kB / 394.1 MB, free: 47.98 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3159, allocations: 0 / 394.1 MB, free: 47.98 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.3159, allocations: 0 / 394.1 MB, free: 47.98 MB / 318.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.0003641/0.3163, allocations: 342.4 kB / 394.4 MB, free: 47.62 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.3163, allocations: 10.03 kB / 394.4 MB, free: 47.62 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.119e-05/0.3163, allocations: 7.141 kB / 394.5 MB, free: 47.62 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.3165, allocations: 175.9 kB / 394.6 MB, free: 47.41 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.3165, allocations: 3.562 kB / 394.6 MB, free: 47.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.3165, allocations: 1.688 kB / 394.6 MB, free: 47.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003336/0.3169, allocations: 116.7 kB / 394.7 MB, free: 47.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.3169, allocations: 192 / 394.7 MB, free: 47.34 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.3169, allocations: 5.25 kB / 394.8 MB, free: 47.33 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.3169, allocations: 0.6094 kB / 394.8 MB, free: 47.33 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.309e-05/0.317, allocations: 18.55 kB / 394.8 MB, free: 47.33 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001219/0.3171, allocations: 159 kB / 394.9 MB, free: 47.13 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.3173, allocations: 52.33 kB / 395 MB, free: 47.1 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.464e-05/0.3174, allocations: 30.88 kB / 395 MB, free: 47.08 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.3174, allocations: 2 kB / 395 MB, free: 47.08 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.3174, allocations: 31.36 kB / 395 MB, free: 47.04 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.3174, allocations: 9.531 kB / 395 MB, free: 47.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002158/0.3177, allocations: 74.16 kB / 395.1 MB, free: 46.99 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.3177, allocations: 53.61 kB / 395.2 MB, free: 46.93 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.794e-05/0.3178, allocations: 107.7 kB / 395.3 MB, free: 46.82 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.554e-06/0.3178, allocations: 25.7 kB / 395.3 MB, free: 46.79 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.439e-05/0.3178, allocations: 86.72 kB / 395.4 MB, free: 46.7 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.124e-06/0.3178, allocations: 1.406 kB / 395.4 MB, free: 46.7 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.833e-05/0.3179, allocations: 22.27 kB / 395.4 MB, free: 46.68 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.513e-05/0.3179, allocations: 313.3 kB / 395.7 MB, free: 46.37 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.157e-05/0.3179, allocations: 3.609 kB / 395.7 MB, free: 46.37 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.197e-05/0.318, allocations: 29.08 kB / 395.7 MB, free: 46.33 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.387e-05/0.318, allocations: 39.88 kB / 395.8 MB, free: 46.29 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.318, allocations: 0 / 395.8 MB, free: 46.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.726e-05/0.3181, allocations: 63.5 kB / 395.8 MB, free: 46.24 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.3181, allocations: 5.719 kB / 395.9 MB, free: 46.24 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3181, allocations: 5.188 kB / 395.9 MB, free: 46.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.3181, allocations: 1.188 kB / 395.9 MB, free: 46.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.439e-05/0.3182, allocations: 7.906 kB / 395.9 MB, free: 46.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.3182, allocations: 5.312 kB / 395.9 MB, free: 46.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.038e-05/0.3182, allocations: 1.031 kB / 395.9 MB, free: 46.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.3183, allocations: 3.062 kB / 395.9 MB, free: 46.23 MB / 318.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 5.572e-05/0.3183, allocations: 113.9 kB / 396 MB, free: 46.11 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.719e-05/0.3184, allocations: 57.27 kB / 396 MB, free: 46.07 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.769e-05/0.3185, allocations: 14.27 kB / 396.1 MB, free: 46.06 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3185, allocations: 1.281 kB / 396.1 MB, free: 46.06 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3185, allocations: 0 / 396.1 MB, free: 46.06 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3185, allocations: 4.609 kB / 396.1 MB, free: 46.06 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.086e-05/0.3186, allocations: 158.7 kB / 396.2 MB, free: 45.86 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3186, allocations: 1.125 kB / 396.2 MB, free: 45.86 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.942e-05/0.3186, allocations: 7.734 kB / 396.2 MB, free: 45.86 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3186, allocations: 1.281 kB / 396.2 MB, free: 45.86 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.3186, allocations: 4.641 kB / 396.2 MB, free: 45.86 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.3186, allocations: 1.375 kB / 396.2 MB, free: 45.86 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.3186, allocations: 0 / 396.2 MB, free: 45.86 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.3188, allocations: 88 kB / 396.3 MB, free: 45.78 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.213e-05/0.3188, allocations: 80.08 kB / 396.4 MB, free: 45.69 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.3188, allocations: 7.875 kB / 396.4 MB, free: 45.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.446e-05/0.3189, allocations: 3.641 kB / 396.4 MB, free: 45.68 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-06/0.3189, allocations: 0 / 396.4 MB, free: 45.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.3189, allocations: 9.844 kB / 396.4 MB, free: 45.67 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.245e-05/0.3189, allocations: 86.03 kB / 396.5 MB, free: 45.59 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3189, allocations: 0 / 396.5 MB, free: 45.59 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001893/0.3191, allocations: 3.406 kB / 396.5 MB, free: 45.59 MB / 318.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.715e-05/0.3192, allocations: 100.8 kB / 396.6 MB, free: 45.5 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001335/0.3194, allocations: 27.53 kB / 396.6 MB, free: 45.49 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.3194, allocations: 0 / 396.6 MB, free: 45.49 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.764e-06/0.3194, allocations: 1.094 kB / 396.6 MB, free: 45.49 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.3196, allocations: 27.17 kB / 396.7 MB, free: 45.48 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003042/0.32, allocations: 124.1 kB / 396.8 MB, free: 45.36 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001912/0.3202, allocations: 0.6839 MB / 397.5 MB, free: 44.66 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.316e-05/0.3202, allocations: 1.703 kB / 397.5 MB, free: 44.66 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.351e-05/0.3202, allocations: 9.812 kB / 397.5 MB, free: 44.66 MB / 318.1 MB Notification: Performance of SimCode: time 2e-07/0.3202, allocations: 0 / 397.5 MB, free: 44.66 MB / 318.1 MB Notification: Performance of Templates: time 0.002431/0.3226, allocations: 336.8 kB / 397.8 MB, free: 44.59 MB / 318.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches