Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001281/0.001281, allocations: 112.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00141/0.00141, allocations: 208 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.382/1.382, allocations: 227.7 MB / 247.9 MB, free: 10.17 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 59.89 kB / 359.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2264, allocations: 50.55 MB / 410.2 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.003137/0.2295, allocations: 1.875 MB / 412.1 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008214/0.2304, allocations: 490.7 kB / 412.5 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.641e-05/0.2304, allocations: 4 kB / 412.5 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.184e-05/0.2305, allocations: 11.86 kB / 412.6 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.059e-05/0.2306, allocations: 23.8 kB / 412.6 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001369/0.2307, allocations: 39.89 kB / 412.6 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.2309, allocations: 99.64 kB / 412.7 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.231, allocations: 29.39 kB / 412.7 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.217e-05/0.2311, allocations: 43.78 kB / 412.8 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.545e-05/0.2312, allocations: 43.78 kB / 412.8 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.2312, allocations: 8 kB / 412.8 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.698e-05/0.2312, allocations: 8 kB / 412.8 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.757e-05/0.2312, allocations: 23.92 kB / 412.9 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.281e-05/0.2313, allocations: 47.73 kB / 412.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.2314, allocations: 103.4 kB / 413 MB, free: 14.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.2314, allocations: 0 / 413 MB, free: 14.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2315, allocations: 0 / 413 MB, free: 14.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.2315, allocations: 0 / 413 MB, free: 14.59 MB / 334.1 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.000586/0.232, allocations: 407.2 kB / 413.4 MB, free: 14.15 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.2321, allocations: 8.031 kB / 413.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.895e-05/0.2321, allocations: 12.89 kB / 413.4 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.2324, allocations: 204.2 kB / 413.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.2324, allocations: 4.562 kB / 413.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.204e-05/0.2324, allocations: 20.27 kB / 413.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.2327, allocations: 120.9 kB / 413.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.2327, allocations: 0 / 413.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.2327, allocations: 8 kB / 413.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2327, allocations: 0 / 413.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002287/0.233, allocations: 71.94 kB / 413.9 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006782/0.2336, allocations: 0.5171 MB / 414.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.2338, allocations: 78.55 kB / 414.4 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.234, allocations: 40.83 kB / 414.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.234, allocations: 160 / 414.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.234, allocations: 34.56 kB / 414.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.234, allocations: 3.938 kB / 414.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004151/0.2344, allocations: 133.7 kB / 414.7 MB, free: 12.76 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.2344, allocations: 51.41 kB / 414.7 MB, free: 12.7 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.2346, allocations: 137.1 kB / 414.8 MB, free: 12.56 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.2346, allocations: 25.7 kB / 414.9 MB, free: 12.53 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.941e-05/0.2347, allocations: 112 kB / 415 MB, free: 12.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.2347, allocations: 27.75 kB / 415 MB, free: 12.39 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.974e-05/0.2347, allocations: 29.7 kB / 415 MB, free: 12.35 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.2349, allocations: 318.8 kB / 415.3 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.235, allocations: 39.97 kB / 415.4 MB, free: 11.99 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.2351, allocations: 60.27 kB / 415.4 MB, free: 11.92 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002346/0.2354, allocations: 104.2 kB / 415.5 MB, free: 11.8 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2354, allocations: 0 / 415.5 MB, free: 11.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003122/0.2357, allocations: 149.4 kB / 415.7 MB, free: 11.65 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.2357, allocations: 4 kB / 415.7 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2357, allocations: 8.219 kB / 415.7 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.2357, allocations: 3.938 kB / 415.7 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.2359, allocations: 31.97 kB / 415.7 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.2359, allocations: 8.062 kB / 415.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.473e-05/0.236, allocations: 11.98 kB / 415.8 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.236, allocations: 4 kB / 415.8 MB, free: 11.58 MB / 334.1 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 0.0001017/0.2361, allocations: 125.7 kB / 415.9 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.2361, allocations: 7.953 kB / 415.9 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.66e-05/0.2361, allocations: 16.38 kB / 415.9 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2361, allocations: 0 / 415.9 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.2361, allocations: 3.984 kB / 415.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.2361, allocations: 0 / 415.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/0.2364, allocations: 201.5 kB / 416.1 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2364, allocations: 0 / 416.1 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/0.2365, allocations: 23.98 kB / 416.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.281e-06/0.2365, allocations: 7.984 kB / 416.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.2365, allocations: 0 / 416.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2365, allocations: 0 / 416.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2365, allocations: 4 kB / 416.1 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004179/0.2369, allocations: 235.3 kB / 416.4 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.164e-05/0.237, allocations: 85.06 kB / 416.5 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.237, allocations: 3.938 kB / 416.5 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.448e-05/0.2371, allocations: 12.03 kB / 416.5 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-05/0.2371, allocations: 8 kB / 416.5 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.2372, allocations: 0 / 416.5 MB, free: 10.76 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.36e-05/0.2372, allocations: 103.2 kB / 416.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2372, allocations: 0 / 416.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002425/0.2375, allocations: 16 kB / 416.6 MB, free: 10.64 MB / 334.1 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.0001007/0.2376, allocations: 95.25 kB / 416.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002857/0.2379, allocations: 84.06 kB / 416.8 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2379, allocations: 0 / 416.8 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.238, allocations: 39.91 kB / 416.8 MB, free: 10.42 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.2383, allocations: 24.11 kB / 416.8 MB, free: 10.4 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007114/0.239, allocations: 367.6 kB / 417.2 MB, free: 10.01 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.2393, allocations: 0.7002 MB / 417.9 MB, free: 9.281 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.832e-05/0.2394, allocations: 4.438 kB / 417.9 MB, free: 9.277 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.055e-05/0.2394, allocations: 11.44 kB / 417.9 MB, free: 9.266 MB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2394, allocations: 0 / 417.9 MB, free: 9.266 MB / 334.1 MB Notification: Performance of Templates: time 0.003764/0.2432, allocations: 1.019 MB / 418.9 MB, free: 8.262 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches