Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001208/0.001208, allocations: 193.1 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 229.5 MB / 247.7 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008397/0.0008398, allocations: 101.5 kB / 299.9 MB, free: 5.344 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003146/0.0003142, allocations: 4 kB / 360.6 MB, free: 8.484 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2774, allocations: 51.42 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.001637/0.2791, allocations: 1.273 MB / 413.3 MB, free: 24.63 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008651/0.2799, allocations: 0.6939 MB / 414 MB, free: 23.88 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.467e-05/0.28, allocations: 0 / 414 MB, free: 23.88 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.318e-05/0.2801, allocations: 9.172 kB / 414 MB, free: 23.87 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00014/0.2802, allocations: 7.938 kB / 414 MB, free: 23.86 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002791/0.2805, allocations: 35.91 kB / 414.1 MB, free: 23.83 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.217e-05/0.2806, allocations: 42.27 kB / 414.1 MB, free: 23.79 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.2807, allocations: 15.95 kB / 414.1 MB, free: 23.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.2809, allocations: 15.94 kB / 414.1 MB, free: 23.76 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.022e-05/0.2809, allocations: 11.92 kB / 414.2 MB, free: 23.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.281, allocations: 11.62 kB / 414.2 MB, free: 23.74 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.68e-05/0.281, allocations: 8 kB / 414.2 MB, free: 23.73 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.771e-05/0.2811, allocations: 15.91 kB / 414.2 MB, free: 23.71 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.833e-05/0.2811, allocations: 45.52 kB / 414.2 MB, free: 23.66 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.2812, allocations: 43.81 kB / 414.3 MB, free: 23.62 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.964e-06/0.2813, allocations: 0 / 414.3 MB, free: 23.62 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.816e-06/0.2813, allocations: 0 / 414.3 MB, free: 23.62 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.2813, allocations: 0 / 414.3 MB, free: 23.62 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004401/0.2817, allocations: 362.8 kB / 414.6 MB, free: 23.22 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.2818, allocations: 12.03 kB / 414.6 MB, free: 23.21 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/0.2819, allocations: 20.83 kB / 414.7 MB, free: 23.19 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.2821, allocations: 184.1 kB / 414.8 MB, free: 22.97 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.2821, allocations: 4.375 kB / 414.8 MB, free: 22.97 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.2821, allocations: 8.375 kB / 414.9 MB, free: 22.96 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/0.2823, allocations: 93.36 kB / 414.9 MB, free: 22.85 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.2824, allocations: 3.938 kB / 415 MB, free: 22.85 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.2824, allocations: 4 kB / 415 MB, free: 22.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.2824, allocations: 4 kB / 415 MB, free: 22.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.103e-05/0.2825, allocations: 23.92 kB / 415 MB, free: 22.82 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002672/0.2827, allocations: 261.8 kB / 415.2 MB, free: 22.51 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.561e-05/0.2828, allocations: 53.14 kB / 415.3 MB, free: 22.44 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.287e-05/0.2829, allocations: 17.78 kB / 415.3 MB, free: 22.41 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.2829, allocations: 0 / 415.3 MB, free: 22.41 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.436e-05/0.2829, allocations: 38.55 kB / 415.3 MB, free: 22.37 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.2829, allocations: 0 / 415.3 MB, free: 22.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.000225/0.2832, allocations: 77.53 kB / 415.4 MB, free: 22.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.2832, allocations: 77.11 kB / 415.5 MB, free: 22.19 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.58e-05/0.2833, allocations: 146.7 kB / 415.6 MB, free: 22.04 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.983e-06/0.2833, allocations: 25.7 kB / 415.7 MB, free: 22.01 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.164e-05/0.2834, allocations: 84.39 kB / 415.7 MB, free: 21.92 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.435e-05/0.2834, allocations: 11.91 kB / 415.8 MB, free: 21.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-06/0.2834, allocations: 3.938 kB / 415.8 MB, free: 21.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.146e-05/0.2834, allocations: 322.8 kB / 416.1 MB, free: 21.58 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.626e-05/0.2835, allocations: 8 kB / 416.1 MB, free: 21.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.344e-05/0.2835, allocations: 29.64 kB / 416.1 MB, free: 21.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.684e-05/0.2836, allocations: 33.77 kB / 416.1 MB, free: 21.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.2836, allocations: 0 / 416.1 MB, free: 21.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.756e-05/0.2837, allocations: 57.62 kB / 416.2 MB, free: 21.44 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.2837, allocations: 8 kB / 416.2 MB, free: 21.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.2837, allocations: 4.062 kB / 416.2 MB, free: 21.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.2838, allocations: 0 / 416.2 MB, free: 21.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.366e-05/0.2838, allocations: 7.984 kB / 416.2 MB, free: 21.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.2838, allocations: 4 kB / 416.2 MB, free: 21.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.39e-05/0.2839, allocations: 0 / 416.2 MB, free: 21.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-06/0.2839, allocations: 4 kB / 416.2 MB, free: 21.41 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.504e-05/0.284, allocations: 122.4 kB / 416.4 MB, free: 21.28 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.592e-05/0.284, allocations: 45.53 kB / 416.4 MB, free: 21.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.713e-05/0.284, allocations: 11.91 kB / 416.4 MB, free: 21.21 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2841, allocations: 0 / 416.4 MB, free: 21.21 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2841, allocations: 4 kB / 416.4 MB, free: 21.21 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.2841, allocations: 0 / 416.4 MB, free: 21.21 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.2842, allocations: 173.5 kB / 416.6 MB, free: 20.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2842, allocations: 3.984 kB / 416.6 MB, free: 20.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.252e-05/0.2842, allocations: 11.98 kB / 416.6 MB, free: 20.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2843, allocations: 0 / 416.6 MB, free: 20.97 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.2843, allocations: 0 / 416.6 MB, free: 20.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2843, allocations: 0 / 416.6 MB, free: 20.97 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2843, allocations: 4 kB / 416.6 MB, free: 20.97 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.2844, allocations: 168.2 kB / 416.8 MB, free: 20.79 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.688e-05/0.2845, allocations: 92.94 kB / 416.9 MB, free: 20.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.2845, allocations: 0 / 416.9 MB, free: 20.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.447e-05/0.2845, allocations: 8.031 kB / 416.9 MB, free: 20.67 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.126e-05/0.2846, allocations: 0 / 416.9 MB, free: 20.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.2846, allocations: 4 kB / 416.9 MB, free: 20.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.64e-05/0.2846, allocations: 107.2 kB / 417 MB, free: 20.56 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2847, allocations: 0 / 417 MB, free: 20.56 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002134/0.2849, allocations: 8 kB / 417 MB, free: 20.55 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.986e-05/0.285, allocations: 103.2 kB / 417.1 MB, free: 20.44 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001239/0.2851, allocations: 27.98 kB / 417.1 MB, free: 20.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2851, allocations: 0 / 417.1 MB, free: 20.41 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.501e-05/0.2851, allocations: 15.92 kB / 417.1 MB, free: 20.4 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.2855, allocations: 27.84 kB / 417.2 MB, free: 20.37 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002975/0.2858, allocations: 181.8 kB / 417.3 MB, free: 20.16 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001667/0.286, allocations: 0.6887 MB / 418 MB, free: 19.45 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.852e-05/0.286, allocations: 0 / 418 MB, free: 19.45 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.77e-05/0.2861, allocations: 11.44 kB / 418 MB, free: 19.43 MB / 298.7 MB Notification: Performance of SimCode: time 2e-07/0.2861, allocations: 3.938 kB / 418 MB, free: 19.43 MB / 298.7 MB Notification: Performance of Templates: time 0.002391/0.2885, allocations: 431.3 kB / 418.5 MB, free: 19.02 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches