Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001573/0.001573, allocations: 199.9 kB / 17.43 MB, free: 4.27 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.659/1.659, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009303/0.0009307, allocations: 99.42 kB / 299.9 MB, free: 5.352 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003288/0.0003285, allocations: 8 kB / 360.6 MB, free: 8.488 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3116, allocations: 51.41 MB / 412.1 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.001496/0.3131, allocations: 1.222 MB / 413.3 MB, free: 24.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003314/0.3135, allocations: 123.7 kB / 413.4 MB, free: 24.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.862e-05/0.3136, allocations: 0 / 413.4 MB, free: 24.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.856e-05/0.3136, allocations: 0 / 413.4 MB, free: 24.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001338/0.3138, allocations: 11.92 kB / 413.4 MB, free: 24.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002414/0.314, allocations: 31.91 kB / 413.4 MB, free: 24.54 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.635e-05/0.3141, allocations: 23.94 kB / 413.5 MB, free: 24.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.3142, allocations: 16.81 kB / 413.5 MB, free: 24.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.107e-05/0.3142, allocations: 8.531 kB / 413.5 MB, free: 24.5 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.728e-05/0.3143, allocations: 13.12 kB / 413.5 MB, free: 24.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.3143, allocations: 0 / 413.5 MB, free: 24.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.104e-05/0.3143, allocations: 0 / 413.5 MB, free: 24.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.46e-05/0.3144, allocations: 11.98 kB / 413.5 MB, free: 24.47 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.821e-05/0.3144, allocations: 47.42 kB / 413.6 MB, free: 24.42 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.564e-05/0.3145, allocations: 35.81 kB / 413.6 MB, free: 24.39 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3145, allocations: 4 kB / 413.6 MB, free: 24.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3146, allocations: 0 / 413.6 MB, free: 24.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.3146, allocations: 0 / 413.6 MB, free: 24.38 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.0003911/0.315, allocations: 358.5 kB / 413.9 MB, free: 23.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.315, allocations: 8.031 kB / 414 MB, free: 23.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.256e-05/0.315, allocations: 12.84 kB / 414 MB, free: 23.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.3152, allocations: 192.1 kB / 414.2 MB, free: 23.74 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.3152, allocations: 4.375 kB / 414.2 MB, free: 23.73 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.3152, allocations: 4.375 kB / 414.2 MB, free: 23.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002216/0.3155, allocations: 89.59 kB / 414.2 MB, free: 23.62 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.3155, allocations: 192 / 414.2 MB, free: 23.62 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.3155, allocations: 7.938 kB / 414.3 MB, free: 23.62 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.3155, allocations: 4 kB / 414.3 MB, free: 23.61 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.801e-05/0.3156, allocations: 19.98 kB / 414.3 MB, free: 23.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002609/0.3159, allocations: 253.7 kB / 414.5 MB, free: 23.29 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.482e-05/0.3159, allocations: 53.09 kB / 414.6 MB, free: 23.22 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.339e-05/0.316, allocations: 17.77 kB / 414.6 MB, free: 23.2 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.316, allocations: 7.938 kB / 414.6 MB, free: 23.19 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.316, allocations: 38.56 kB / 414.6 MB, free: 23.14 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.316, allocations: 7.938 kB / 414.7 MB, free: 23.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001971/0.3163, allocations: 61.67 kB / 414.7 MB, free: 23.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.3163, allocations: 85.05 kB / 414.8 MB, free: 22.97 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.3164, allocations: 134 kB / 414.9 MB, free: 22.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.723e-06/0.3164, allocations: 25.95 kB / 415 MB, free: 22.79 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.088e-05/0.3165, allocations: 100 kB / 415 MB, free: 22.69 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.734e-06/0.3165, allocations: 0 / 415 MB, free: 22.69 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.3165, allocations: 0 / 415 MB, free: 22.69 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.453e-05/0.3165, allocations: 310.8 kB / 415.4 MB, free: 22.38 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.454e-05/0.3166, allocations: 8 kB / 415.4 MB, free: 22.37 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.069e-05/0.3166, allocations: 29.7 kB / 415.4 MB, free: 22.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.163e-05/0.3167, allocations: 29.7 kB / 415.4 MB, free: 22.3 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3167, allocations: 0 / 415.4 MB, free: 22.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.933e-05/0.3168, allocations: 57.66 kB / 415.5 MB, free: 22.24 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.3168, allocations: 8.031 kB / 415.5 MB, free: 22.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3168, allocations: 0 / 415.5 MB, free: 22.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.3168, allocations: 0 / 415.5 MB, free: 22.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.998e-05/0.3169, allocations: 11.98 kB / 415.5 MB, free: 22.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3169, allocations: 0 / 415.5 MB, free: 22.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.719e-05/0.3169, allocations: 4 kB / 415.5 MB, free: 22.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-06/0.3169, allocations: 0 / 415.5 MB, free: 22.21 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: 2 (step.y,sample1.y) * 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.584e-05/0.317, allocations: 125.7 kB / 415.6 MB, free: 22.08 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.47e-05/0.3171, allocations: 49.59 kB / 415.7 MB, free: 22.03 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.845e-05/0.3171, allocations: 3.875 kB / 415.7 MB, free: 22.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3171, allocations: 4 kB / 415.7 MB, free: 22.01 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3171, allocations: 0 / 415.7 MB, free: 22.01 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3171, allocations: 0 / 415.7 MB, free: 22.01 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/0.3173, allocations: 169.6 kB / 415.8 MB, free: 21.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3173, allocations: 0 / 415.8 MB, free: 21.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.387e-05/0.3173, allocations: 11.94 kB / 415.9 MB, free: 21.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3173, allocations: 0 / 415.9 MB, free: 21.79 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.3173, allocations: 0 / 415.9 MB, free: 21.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3174, allocations: 7.969 kB / 415.9 MB, free: 21.78 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3174, allocations: 0 / 415.9 MB, free: 21.78 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.3175, allocations: 168.2 kB / 416 MB, free: 21.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.71e-05/0.3175, allocations: 93 kB / 416.1 MB, free: 21.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.3176, allocations: 4.031 kB / 416.1 MB, free: 21.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.55e-05/0.3176, allocations: 4 kB / 416.1 MB, free: 21.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.081e-05/0.3177, allocations: 0 / 416.1 MB, free: 21.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.3177, allocations: 0 / 416.1 MB, free: 21.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.031e-05/0.3177, allocations: 107.2 kB / 416.2 MB, free: 21.37 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3178, allocations: 0 / 416.2 MB, free: 21.37 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00023/0.318, allocations: 4 kB / 416.2 MB, free: 21.37 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: 2 (step.y,sample1.y) * 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.56e-05/0.3181, allocations: 99.25 kB / 416.3 MB, free: 21.26 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000131/0.3182, allocations: 31.92 kB / 416.4 MB, free: 21.23 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3182, allocations: 0 / 416.4 MB, free: 21.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.682e-05/0.3183, allocations: 8 kB / 416.4 MB, free: 21.22 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.3186, allocations: 23.94 kB / 416.4 MB, free: 21.2 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002895/0.3189, allocations: 153.8 kB / 416.5 MB, free: 21.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001313/0.3191, allocations: 0.6926 MB / 417.2 MB, free: 20.3 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.924e-05/0.3191, allocations: 0 / 417.2 MB, free: 20.3 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.084e-05/0.3192, allocations: 11.44 kB / 417.2 MB, free: 20.29 MB / 298.7 MB Notification: Performance of SimCode: time 3.4e-07/0.3192, allocations: 0 / 417.2 MB, free: 20.29 MB / 298.7 MB Notification: Performance of Templates: time 0.002332/0.3215, allocations: 416 kB / 417.7 MB, free: 19.89 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches