Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.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.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 106.1 kB / 16.31 MB, free: 6.391 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.001599/0.001599, allocations: 190.4 kB / 17.24 MB, free: 5.922 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.625/1.625, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.09879/0.09879, allocations: 12.58 MB / 283.1 MB, free: 15.48 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.002151/0.002151, allocations: 95.86 kB / 343.5 MB, free: 2.953 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3228, allocations: 49.38 MB / 392.9 MB, free: 49.2 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1): time 0.00317/0.326, allocations: 1.496 MB / 394.4 MB, free: 48.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003823/0.3264, allocations: 136.7 kB / 394.5 MB, free: 48.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.964e-05/0.3265, allocations: 5.562 kB / 394.5 MB, free: 48.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.031e-05/0.3266, allocations: 5.109 kB / 394.5 MB, free: 48.08 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001301/0.3267, allocations: 11.59 kB / 394.5 MB, free: 48.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002549/0.3269, allocations: 35.61 kB / 394.6 MB, free: 48.05 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001/0.3271, allocations: 32.38 kB / 394.6 MB, free: 48.04 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.3272, allocations: 14.55 kB / 394.6 MB, free: 48.04 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.474e-05/0.3272, allocations: 12.25 kB / 394.6 MB, free: 48.03 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.419e-05/0.3273, allocations: 13.75 kB / 394.6 MB, free: 48.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.3273, allocations: 2.75 kB / 394.6 MB, free: 48.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.344e-05/0.3273, allocations: 3.281 kB / 394.6 MB, free: 48.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.802e-05/0.3274, allocations: 13.72 kB / 394.7 MB, free: 48.01 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.004e-05/0.3274, allocations: 29.5 kB / 394.7 MB, free: 47.99 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.3275, allocations: 42.52 kB / 394.7 MB, free: 47.97 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.3276, allocations: 5.469 kB / 394.7 MB, free: 47.96 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3276, allocations: 0 / 394.7 MB, free: 47.96 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.3276, allocations: 0 / 394.7 MB, free: 47.96 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004011/0.328, allocations: 362.7 kB / 395.1 MB, free: 47.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.328, allocations: 8.906 kB / 395.1 MB, free: 47.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.713e-05/0.3281, allocations: 8.906 kB / 395.1 MB, free: 47.58 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.3282, allocations: 198.4 kB / 395.3 MB, free: 47.36 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.3283, allocations: 1.656 kB / 395.3 MB, free: 47.36 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.3283, allocations: 3.562 kB / 395.3 MB, free: 47.36 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000286/0.3286, allocations: 112.2 kB / 395.4 MB, free: 47.28 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.3286, allocations: 192 / 395.4 MB, free: 47.28 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.3286, allocations: 9.094 kB / 395.4 MB, free: 47.27 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.3286, allocations: 0 / 395.4 MB, free: 47.27 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.994e-05/0.3287, allocations: 23.89 kB / 395.4 MB, free: 47.26 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002855/0.329, allocations: 259.3 kB / 395.7 MB, free: 46.97 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.3291, allocations: 141.2 kB / 395.8 MB, free: 46.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.663e-05/0.3292, allocations: 25.67 kB / 395.9 MB, free: 46.8 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.3292, allocations: 0.6094 kB / 395.9 MB, free: 46.8 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.3293, allocations: 41.3 kB / 395.9 MB, free: 46.75 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3293, allocations: 0 / 395.9 MB, free: 46.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002346/0.3295, allocations: 63.69 kB / 396 MB, free: 46.71 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.3296, allocations: 86.62 kB / 396 MB, free: 46.61 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.3297, allocations: 137.8 kB / 396.2 MB, free: 46.5 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.3297, allocations: 30.77 kB / 396.2 MB, free: 46.46 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.952e-05/0.3297, allocations: 86.59 kB / 396.3 MB, free: 46.38 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.264e-05/0.3298, allocations: 1.859 kB / 396.3 MB, free: 46.38 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.3298, allocations: 19.75 kB / 396.3 MB, free: 46.36 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.592e-05/0.3299, allocations: 313.6 kB / 396.6 MB, free: 46.04 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.354e-05/0.3299, allocations: 13.53 kB / 396.6 MB, free: 46.04 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.608e-05/0.3299, allocations: 28.86 kB / 396.7 MB, free: 46 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.899e-05/0.33, allocations: 42.97 kB / 396.7 MB, free: 45.96 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.33, allocations: 1.156 kB / 396.7 MB, free: 45.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001067/0.3301, allocations: 69.31 kB / 396.8 MB, free: 45.91 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3301, allocations: 4.938 kB / 396.8 MB, free: 45.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3302, allocations: 1.406 kB / 396.8 MB, free: 45.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.3302, allocations: 2.031 kB / 396.8 MB, free: 45.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.34e-05/0.3302, allocations: 5.875 kB / 396.8 MB, free: 45.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.3302, allocations: 1.188 kB / 396.8 MB, free: 45.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.306e-05/0.3302, allocations: 3.234 kB / 396.8 MB, free: 45.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.3303, allocations: 5.953 kB / 396.8 MB, free: 45.9 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: 4 (step.y,sample.y,assignClock.y,assignClock.u) * 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 7.086e-05/0.3303, allocations: 124.8 kB / 396.9 MB, free: 45.78 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.403e-05/0.3304, allocations: 52.11 kB / 397 MB, free: 45.73 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.115e-05/0.3304, allocations: 11.39 kB / 397 MB, free: 45.73 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3305, allocations: 1.938 kB / 397 MB, free: 45.73 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3305, allocations: 1.156 kB / 397 MB, free: 45.73 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.3305, allocations: 3.938 kB / 397 MB, free: 45.72 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.3306, allocations: 167 kB / 397.2 MB, free: 45.53 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3306, allocations: 4 kB / 397.2 MB, free: 45.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.555e-06/0.3306, allocations: 2.125 kB / 397.2 MB, free: 45.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3306, allocations: 0 / 397.2 MB, free: 45.52 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.3307, allocations: 5.734 kB / 397.2 MB, free: 45.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3307, allocations: 1.062 kB / 397.2 MB, free: 45.52 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.3307, allocations: 1.094 kB / 397.2 MB, free: 45.52 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.3308, allocations: 162 kB / 397.3 MB, free: 45.37 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.211e-05/0.3309, allocations: 89.91 kB / 397.4 MB, free: 45.27 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.3309, allocations: 1.469 kB / 397.4 MB, free: 45.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.037e-05/0.3309, allocations: 10.41 kB / 397.4 MB, free: 45.26 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.331, allocations: 9.312 kB / 397.4 MB, free: 45.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.331, allocations: 2.422 kB / 397.4 MB, free: 45.25 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.154e-05/0.3311, allocations: 104.2 kB / 397.5 MB, free: 45.17 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3311, allocations: 0 / 397.5 MB, free: 45.17 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000217/0.3313, allocations: 6.031 kB / 397.5 MB, free: 45.17 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample.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 8.03e-05/0.3314, allocations: 98.08 kB / 397.6 MB, free: 45.08 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000128/0.3315, allocations: 25.83 kB / 397.7 MB, free: 45.07 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3315, allocations: 0 / 397.7 MB, free: 45.07 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.618e-05/0.3316, allocations: 7.953 kB / 397.7 MB, free: 45.07 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.3319, allocations: 39.2 kB / 397.7 MB, free: 45.05 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002799/0.3322, allocations: 151.1 kB / 397.9 MB, free: 44.91 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001499/0.3324, allocations: 0.6901 MB / 398.5 MB, free: 44.21 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.932e-05/0.3324, allocations: 2.922 kB / 398.5 MB, free: 44.21 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.262e-05/0.3324, allocations: 9.438 kB / 398.6 MB, free: 44.2 MB / 318.1 MB Notification: Performance of SimCode: time 1.9e-07/0.3324, allocations: 0.9375 kB / 398.6 MB, free: 44.2 MB / 318.1 MB Notification: Performance of Templates: time 0.002688/0.3351, allocations: 493.1 kB / 399 MB, free: 44.04 MB / 318.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches