Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009219/0.0009219, allocations: 201.4 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 229.5 MB / 247.7 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008159/0.0008158, allocations: 105.8 kB / 299.9 MB, free: 5.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003136/0.0003135, allocations: 8 kB / 360.6 MB, free: 8.473 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3021, allocations: 51.41 MB / 412.1 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.001619/0.3038, allocations: 1.222 MB / 413.3 MB, free: 24.67 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003193/0.3041, allocations: 135.6 kB / 413.4 MB, free: 24.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.227e-05/0.3042, allocations: 4 kB / 413.4 MB, free: 24.53 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.777e-05/0.3042, allocations: 0 / 413.4 MB, free: 24.53 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.3044, allocations: 7.922 kB / 413.4 MB, free: 24.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.3046, allocations: 39.86 kB / 413.5 MB, free: 24.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.848e-05/0.3047, allocations: 28.95 kB / 413.5 MB, free: 24.46 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.3048, allocations: 29.31 kB / 413.5 MB, free: 24.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.171e-05/0.3049, allocations: 7.938 kB / 413.5 MB, free: 24.42 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.273e-05/0.3049, allocations: 19.86 kB / 413.5 MB, free: 24.4 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.305, allocations: 0.75 kB / 413.5 MB, free: 24.4 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.131e-05/0.305, allocations: 0 / 413.5 MB, free: 24.4 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.073e-05/0.305, allocations: 7.938 kB / 413.5 MB, free: 24.39 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.9e-05/0.3051, allocations: 46.88 kB / 413.6 MB, free: 24.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.883e-05/0.3052, allocations: 43.81 kB / 413.6 MB, free: 24.3 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3052, allocations: 0 / 413.6 MB, free: 24.3 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.3052, allocations: 0.75 kB / 413.6 MB, free: 24.3 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.3052, allocations: 3.938 kB / 413.6 MB, free: 24.3 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004232/0.3056, allocations: 356.4 kB / 414 MB, free: 23.9 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.517e-05/0.3057, allocations: 8.031 kB / 414 MB, free: 23.89 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.386e-05/0.3058, allocations: 8.844 kB / 414 MB, free: 23.89 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.3059, allocations: 200 kB / 414.2 MB, free: 23.65 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-06/0.3059, allocations: 384 / 414.2 MB, free: 23.65 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.306, allocations: 8.375 kB / 414.2 MB, free: 23.64 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.3062, allocations: 119.2 kB / 414.3 MB, free: 23.51 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3062, allocations: 192 / 414.3 MB, free: 23.51 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.3063, allocations: 3.938 kB / 414.3 MB, free: 23.51 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.3063, allocations: 4 kB / 414.3 MB, free: 23.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.275e-05/0.3064, allocations: 19.92 kB / 414.4 MB, free: 23.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000272/0.3066, allocations: 261.8 kB / 414.6 MB, free: 23.18 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.3068, allocations: 146.2 kB / 414.8 MB, free: 23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.936e-05/0.3069, allocations: 29.77 kB / 414.8 MB, free: 22.96 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.3069, allocations: 4 kB / 414.8 MB, free: 22.96 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.508e-05/0.3069, allocations: 30.56 kB / 414.8 MB, free: 22.92 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.051e-06/0.3069, allocations: 0 / 414.8 MB, free: 22.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002221/0.3072, allocations: 85.52 kB / 414.9 MB, free: 22.83 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.3072, allocations: 85.23 kB / 415 MB, free: 22.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.033e-05/0.3073, allocations: 134 kB / 415.1 MB, free: 22.58 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.3073, allocations: 29.7 kB / 415.1 MB, free: 22.55 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.211e-05/0.3074, allocations: 84.14 kB / 415.2 MB, free: 22.46 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.506e-06/0.3074, allocations: 4 kB / 415.2 MB, free: 22.46 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/0.3074, allocations: 7.875 kB / 415.2 MB, free: 22.45 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.052e-05/0.3074, allocations: 310.8 kB / 415.5 MB, free: 22.14 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.722e-05/0.3075, allocations: 15.98 kB / 415.6 MB, free: 22.12 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.671e-05/0.3075, allocations: 39.36 kB / 415.6 MB, free: 22.07 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.764e-05/0.3076, allocations: 51.42 kB / 415.6 MB, free: 22.01 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3076, allocations: 0 / 415.6 MB, free: 22.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001035/0.3077, allocations: 77.41 kB / 415.7 MB, free: 21.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.3077, allocations: 4 kB / 415.7 MB, free: 21.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.3078, allocations: 4 kB / 415.7 MB, free: 21.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.3078, allocations: 0 / 415.7 MB, free: 21.92 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.114e-05/0.3078, allocations: 16.11 kB / 415.7 MB, free: 21.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.3079, allocations: 0 / 415.7 MB, free: 21.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.013e-05/0.3079, allocations: 4 kB / 415.7 MB, free: 21.9 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.3079, allocations: 4 kB / 415.8 MB, free: 21.89 MB / 298.7 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,sample1.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 6.406e-05/0.308, allocations: 125.7 kB / 415.9 MB, free: 21.76 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.649e-05/0.308, allocations: 49.55 kB / 415.9 MB, free: 21.71 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.615e-05/0.3081, allocations: 16.56 kB / 415.9 MB, free: 21.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3081, allocations: 4 kB / 415.9 MB, free: 21.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3081, allocations: 4 kB / 415.9 MB, free: 21.67 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.3081, allocations: 3.984 kB / 416 MB, free: 21.67 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.3082, allocations: 177.5 kB / 416.1 MB, free: 21.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3082, allocations: 0 / 416.1 MB, free: 21.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.604e-05/0.3083, allocations: 8 kB / 416.1 MB, free: 21.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3083, allocations: 0 / 416.1 MB, free: 21.44 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.321e-06/0.3083, allocations: 0 / 416.1 MB, free: 21.44 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3083, allocations: 4 kB / 416.1 MB, free: 21.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3083, allocations: 0 / 416.1 MB, free: 21.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/0.3085, allocations: 176.2 kB / 416.3 MB, free: 21.24 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.949e-05/0.3085, allocations: 93 kB / 416.4 MB, free: 21.13 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.3085, allocations: 4 kB / 416.4 MB, free: 21.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.494e-05/0.3086, allocations: 3.984 kB / 416.4 MB, free: 21.12 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.078e-05/0.3086, allocations: 4 kB / 416.4 MB, free: 21.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.3086, allocations: 4 kB / 416.4 MB, free: 21.12 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.319e-05/0.3087, allocations: 103.3 kB / 416.5 MB, free: 21.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3087, allocations: 0 / 416.5 MB, free: 21.02 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002/0.3089, allocations: 4 kB / 416.5 MB, free: 21.01 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: 4 (step.y,assignClock.u,assignClock.y,sample1.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.347e-05/0.309, allocations: 103.2 kB / 416.6 MB, free: 20.9 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001295/0.3091, allocations: 40.09 kB / 416.7 MB, free: 20.86 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3091, allocations: 4 kB / 416.7 MB, free: 20.86 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.96e-05/0.3092, allocations: 8 kB / 416.7 MB, free: 20.85 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.3095, allocations: 35.83 kB / 416.7 MB, free: 20.82 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002906/0.3098, allocations: 169.7 kB / 416.9 MB, free: 20.62 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.31, allocations: 0.6848 MB / 417.6 MB, free: 19.91 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.162e-05/0.31, allocations: 7.984 kB / 417.6 MB, free: 19.9 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.271e-05/0.31, allocations: 11.44 kB / 417.6 MB, free: 19.89 MB / 298.7 MB Notification: Performance of SimCode: time 2.91e-07/0.31, allocations: 0 / 417.6 MB, free: 19.89 MB / 298.7 MB Notification: Performance of Templates: time 0.002267/0.3123, allocations: 459.1 kB / 418 MB, free: 19.45 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches