Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.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.SimpleControlledDrive.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001728/0.001728, allocations: 201.1 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.54/1.54, 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.0008843/0.0008841, allocations: 99.38 kB / 299.8 MB, free: 5.352 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002997/0.0003, allocations: 4 kB / 360.6 MB, free: 8.496 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3847, allocations: 51.42 MB / 412 MB, free: 25.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.002014/0.3867, allocations: 1.549 MB / 413.6 MB, free: 24.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.3878, allocations: 0.6103 MB / 414.2 MB, free: 23.71 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001469/0.388, allocations: 3.938 kB / 414.2 MB, free: 23.71 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001484/0.3881, allocations: 7.922 kB / 414.2 MB, free: 23.7 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.3883, allocations: 15.86 kB / 414.2 MB, free: 23.69 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/0.3885, allocations: 29.16 kB / 414.3 MB, free: 23.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.3887, allocations: 99.53 kB / 414.4 MB, free: 23.56 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.3888, allocations: 38.98 kB / 414.4 MB, free: 23.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.183e-05/0.3889, allocations: 36.86 kB / 414.4 MB, free: 23.49 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.168e-05/0.389, allocations: 39.78 kB / 414.5 MB, free: 23.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.389, allocations: 4 kB / 414.5 MB, free: 23.45 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.97e-05/0.389, allocations: 8 kB / 414.5 MB, free: 23.44 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.477e-05/0.3891, allocations: 19.84 kB / 414.5 MB, free: 23.42 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.327e-05/0.3891, allocations: 61.45 kB / 414.6 MB, free: 23.35 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.3893, allocations: 97.14 kB / 414.7 MB, free: 23.26 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3893, allocations: 0 / 414.7 MB, free: 23.26 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3893, allocations: 0 / 414.7 MB, free: 23.26 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.3893, allocations: 0 / 414.7 MB, free: 23.26 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0004766/0.3898, allocations: 395.4 kB / 415 MB, free: 22.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.3899, allocations: 12.03 kB / 415.1 MB, free: 22.81 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.627e-05/0.3899, allocations: 12.75 kB / 415.1 MB, free: 22.8 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.3901, allocations: 192.1 kB / 415.3 MB, free: 22.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.3901, allocations: 8.562 kB / 415.3 MB, free: 22.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.3901, allocations: 12.38 kB / 415.3 MB, free: 22.55 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/0.3904, allocations: 123.3 kB / 415.4 MB, free: 22.42 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.3904, allocations: 4 kB / 415.4 MB, free: 22.42 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.3905, allocations: 7.984 kB / 415.4 MB, free: 22.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.882e-06/0.3905, allocations: 0 / 415.4 MB, free: 22.41 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002187/0.3907, allocations: 83.88 kB / 415.5 MB, free: 22.33 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005921/0.3913, allocations: 0.5246 MB / 416 MB, free: 21.74 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.3915, allocations: 82.61 kB / 416.1 MB, free: 21.65 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.3916, allocations: 44.83 kB / 416.1 MB, free: 21.6 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.3916, allocations: 0 / 416.1 MB, free: 21.6 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.3917, allocations: 38.56 kB / 416.2 MB, free: 21.55 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.3917, allocations: 3.938 kB / 416.2 MB, free: 21.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003843/0.3921, allocations: 141.5 kB / 416.3 MB, free: 21.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.3921, allocations: 51.41 kB / 416.4 MB, free: 21.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.95e-05/0.3922, allocations: 125.8 kB / 416.5 MB, free: 21.21 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.806e-06/0.3922, allocations: 25.7 kB / 416.5 MB, free: 21.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.262e-05/0.3923, allocations: 111.8 kB / 416.6 MB, free: 21.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.3923, allocations: 31.7 kB / 416.7 MB, free: 21.04 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-06/0.3923, allocations: 4 kB / 416.7 MB, free: 21.03 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.108e-05/0.3924, allocations: 326.8 kB / 417 MB, free: 20.7 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.3925, allocations: 39.97 kB / 417 MB, free: 20.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.3926, allocations: 80.14 kB / 417.1 MB, free: 20.57 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002057/0.3928, allocations: 116.1 kB / 417.2 MB, free: 20.44 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3928, allocations: 0 / 417.2 MB, free: 20.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002664/0.3931, allocations: 145.4 kB / 417.4 MB, free: 20.29 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.3931, allocations: 8 kB / 417.4 MB, free: 20.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.3931, allocations: 3.984 kB / 417.4 MB, free: 20.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.3932, allocations: 128 / 417.4 MB, free: 20.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.3933, allocations: 35.98 kB / 417.4 MB, free: 20.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.3933, allocations: 7.938 kB / 417.4 MB, free: 20.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.691e-05/0.3934, allocations: 15.98 kB / 417.4 MB, free: 20.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.3934, allocations: 4 kB / 417.4 MB, free: 20.22 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (13): * Single equations (assignments): 13 * 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 9.21e-05/0.3935, allocations: 121.7 kB / 417.5 MB, free: 20.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.51e-05/0.3936, allocations: 7.906 kB / 417.6 MB, free: 20.08 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.661e-05/0.3936, allocations: 12.38 kB / 417.6 MB, free: 20.06 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3936, allocations: 4 kB / 417.6 MB, free: 20.06 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.3937, allocations: 0 / 417.6 MB, free: 20.06 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.3937, allocations: 3.984 kB / 417.6 MB, free: 20.05 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.3939, allocations: 197.5 kB / 417.8 MB, free: 19.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3939, allocations: 0 / 417.8 MB, free: 19.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.394, allocations: 23.98 kB / 417.8 MB, free: 19.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.3941, allocations: 4 kB / 417.8 MB, free: 19.79 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.3941, allocations: 3.938 kB / 417.8 MB, free: 19.78 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3941, allocations: 7.984 kB / 417.8 MB, free: 19.77 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3941, allocations: 0 / 417.8 MB, free: 19.77 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004041/0.3945, allocations: 251.3 kB / 418 MB, free: 19.51 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.037e-05/0.3945, allocations: 81.02 kB / 418.1 MB, free: 19.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.3946, allocations: 4 kB / 418.1 MB, free: 19.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.717e-05/0.3947, allocations: 12.12 kB / 418.1 MB, free: 19.4 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/0.3947, allocations: 7.938 kB / 418.2 MB, free: 19.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.3947, allocations: 0 / 418.2 MB, free: 19.39 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.099e-05/0.3948, allocations: 99.77 kB / 418.2 MB, free: 19.29 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.3948, allocations: 4 kB / 418.3 MB, free: 19.29 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002317/0.395, allocations: 23.91 kB / 418.3 MB, free: 19.27 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (load.phi,load.w,PI.x) * 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 (7): * Single equations (assignments): 7 * 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 0.0001162/0.3952, allocations: 121.6 kB / 418.4 MB, free: 19.14 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002525/0.3954, allocations: 92.08 kB / 418.5 MB, free: 19.05 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3954, allocations: 0 / 418.5 MB, free: 19.05 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.536e-05/0.3955, allocations: 43.91 kB / 418.5 MB, free: 19.01 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.3959, allocations: 19.92 kB / 418.5 MB, free: 18.99 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006532/0.3965, allocations: 437.8 kB / 419 MB, free: 18.53 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/0.3967, allocations: 0.7082 MB / 419.7 MB, free: 17.8 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.25e-05/0.3967, allocations: 4.438 kB / 419.7 MB, free: 17.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.988e-05/0.3968, allocations: 11.44 kB / 419.7 MB, free: 17.78 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.3968, allocations: 0 / 419.7 MB, free: 17.78 MB / 298.7 MB Notification: Performance of Templates: time 0.002897/0.3997, allocations: 0.8889 MB / 420.6 MB, free: 16.9 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.sim & ./Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches