Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 102.3 kB / 16.31 MB, free: 5.879 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.001963/0.001963, allocations: 186.5 kB / 17.24 MB, free: 5.539 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.689/1.689, allocations: 205.1 MB / 223.1 MB, free: 12.1 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.08762/0.08762, allocations: 12.58 MB / 283.1 MB, free: 15.44 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.00189/0.00189, allocations: 84.81 kB / 343.5 MB, free: 2.91 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3226, allocations: 49.39 MB / 392.9 MB, free: 49.18 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.0035/0.3262, allocations: 1.421 MB / 394.3 MB, free: 48.2 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002391/0.3265, allocations: 38.64 kB / 394.3 MB, free: 48.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.819e-05/0.3266, allocations: 0 / 394.3 MB, free: 48.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.822e-05/0.3266, allocations: 0.6094 kB / 394.3 MB, free: 48.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.219e-05/0.3267, allocations: 9.375 kB / 394.3 MB, free: 48.17 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002806/0.327, allocations: 27 kB / 394.4 MB, free: 48.15 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.3271, allocations: 27.12 kB / 394.4 MB, free: 48.14 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.3272, allocations: 10.84 kB / 394.4 MB, free: 48.14 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.37e-05/0.3273, allocations: 12.84 kB / 394.4 MB, free: 48.13 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.232e-05/0.3273, allocations: 15.06 kB / 394.4 MB, free: 48.12 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.3274, allocations: 6.391 kB / 394.4 MB, free: 48.12 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.678e-05/0.3274, allocations: 1.875 kB / 394.4 MB, free: 48.12 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.786e-05/0.3274, allocations: 3.109 kB / 394.4 MB, free: 48.12 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.732e-05/0.3275, allocations: 19.62 kB / 394.5 MB, free: 48.1 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.3276, allocations: 26.38 kB / 394.5 MB, free: 48.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3276, allocations: 1.719 kB / 394.5 MB, free: 48.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3276, allocations: 0 / 394.5 MB, free: 48.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.3276, allocations: 0 / 394.5 MB, free: 48.09 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.0004304/0.328, allocations: 352.2 kB / 394.8 MB, free: 47.72 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.3281, allocations: 10.56 kB / 394.9 MB, free: 47.72 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.867e-05/0.3281, allocations: 6.375 kB / 394.9 MB, free: 47.71 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.3283, allocations: 177.2 kB / 395 MB, free: 47.51 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.3283, allocations: 6.609 kB / 395 MB, free: 47.51 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.3284, allocations: 6.812 kB / 395 MB, free: 47.5 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000365/0.3287, allocations: 119.6 kB / 395.2 MB, free: 47.43 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.3287, allocations: 1.531 kB / 395.2 MB, free: 47.43 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.3288, allocations: 4.641 kB / 395.2 MB, free: 47.43 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3288, allocations: 0 / 395.2 MB, free: 47.43 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.3289, allocations: 25.95 kB / 395.2 MB, free: 47.43 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001508/0.3291, allocations: 168.3 kB / 395.4 MB, free: 47.22 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.3292, allocations: 53.44 kB / 395.4 MB, free: 47.19 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.232e-05/0.3293, allocations: 25.73 kB / 395.4 MB, free: 47.18 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.297e-06/0.3294, allocations: 1.891 kB / 395.4 MB, free: 47.18 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.683e-05/0.3294, allocations: 31.56 kB / 395.5 MB, free: 47.14 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.794e-06/0.3294, allocations: 3.984 kB / 395.5 MB, free: 47.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003135/0.3297, allocations: 89.14 kB / 395.6 MB, free: 47.09 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.3298, allocations: 53.14 kB / 395.6 MB, free: 47.02 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.936e-05/0.3298, allocations: 104.7 kB / 395.7 MB, free: 46.92 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.3298, allocations: 31.25 kB / 395.7 MB, free: 46.89 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.493e-05/0.3299, allocations: 82.11 kB / 395.8 MB, free: 46.8 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.596e-05/0.3299, allocations: 5.453 kB / 395.8 MB, free: 46.8 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/0.3299, allocations: 23 kB / 395.8 MB, free: 46.78 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.609e-05/0.33, allocations: 317.8 kB / 396.2 MB, free: 46.46 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.735e-05/0.33, allocations: 8.062 kB / 396.2 MB, free: 46.46 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.678e-05/0.33, allocations: 29.56 kB / 396.2 MB, free: 46.42 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.999e-05/0.3301, allocations: 35.77 kB / 396.2 MB, free: 46.38 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.3301, allocations: 5.578 kB / 396.2 MB, free: 46.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.871e-05/0.3302, allocations: 59.62 kB / 396.3 MB, free: 46.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.3302, allocations: 5.391 kB / 396.3 MB, free: 46.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3302, allocations: 5.062 kB / 396.3 MB, free: 46.33 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/0.3302, allocations: 1.188 kB / 396.3 MB, free: 46.33 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.655e-05/0.3303, allocations: 12.56 kB / 396.3 MB, free: 46.33 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.3303, allocations: 1.531 kB / 396.3 MB, free: 46.33 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.268e-05/0.3304, allocations: 1.828 kB / 396.3 MB, free: 46.33 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.3304, allocations: 2.656 kB / 396.3 MB, free: 46.33 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: 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 5.889e-05/0.3304, allocations: 119.9 kB / 396.4 MB, free: 46.21 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001723/0.3306, allocations: 67.53 kB / 396.5 MB, free: 46.16 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.735e-05/0.3306, allocations: 14.33 kB / 396.5 MB, free: 46.15 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3307, allocations: 0 / 396.5 MB, free: 46.15 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3307, allocations: 0.5625 kB / 396.5 MB, free: 46.15 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3307, allocations: 5.125 kB / 396.5 MB, free: 46.15 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.879e-05/0.3307, allocations: 159.6 kB / 396.7 MB, free: 45.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3308, allocations: 1.125 kB / 396.7 MB, free: 45.95 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.84e-05/0.3308, allocations: 10.09 kB / 396.7 MB, free: 45.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3308, allocations: 5.531 kB / 396.7 MB, free: 45.95 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.3308, allocations: 3.938 kB / 396.7 MB, free: 45.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3308, allocations: 0 / 396.7 MB, free: 45.95 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3309, allocations: 2.344 kB / 396.7 MB, free: 45.95 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.331, allocations: 90.5 kB / 396.8 MB, free: 45.87 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.284e-05/0.3311, allocations: 82.77 kB / 396.9 MB, free: 45.77 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.3311, allocations: 5 kB / 396.9 MB, free: 45.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.451e-05/0.3311, allocations: 8.703 kB / 396.9 MB, free: 45.77 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.014e-05/0.3311, allocations: 0.7031 kB / 396.9 MB, free: 45.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.3312, allocations: 1.094 kB / 396.9 MB, free: 45.77 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.247e-05/0.3312, allocations: 86.58 kB / 397 MB, free: 45.69 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3312, allocations: 0 / 397 MB, free: 45.69 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001814/0.3314, allocations: 4.312 kB / 397 MB, free: 45.69 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: 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 8.015e-05/0.3315, allocations: 96.58 kB / 397.1 MB, free: 45.6 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001509/0.3316, allocations: 32.12 kB / 397.1 MB, free: 45.59 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3316, allocations: 9.375 kB / 397.1 MB, free: 45.58 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.3316, allocations: 0 / 397.1 MB, free: 45.58 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.332, allocations: 30.2 kB / 397.1 MB, free: 45.57 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000286/0.3323, allocations: 110.1 kB / 397.2 MB, free: 45.47 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.3324, allocations: 0.6845 MB / 397.9 MB, free: 44.77 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.921e-05/0.3324, allocations: 4.547 kB / 397.9 MB, free: 44.77 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.337e-05/0.3324, allocations: 12 kB / 398 MB, free: 44.76 MB / 318.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3325, allocations: 0 / 398 MB, free: 44.76 MB / 318.1 MB Notification: Performance of Templates: time 0.002789/0.3352, allocations: 437.1 kB / 398.4 MB, free: 44.64 MB / 318.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches