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.00153/0.00153, allocations: 118.8 kB / 17.83 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001777/0.001777, allocations: 202 kB / 18.78 MB, free: 4.305 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.517/1.517, allocations: 230.4 MB / 250 MB, free: 8.996 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.001921/0.001921, allocations: 63.84 kB / 367.3 MB, free: 7.027 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3043, allocations: 53.31 MB / 420.6 MB, free: 8.473 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.004319/0.3086, allocations: 1.883 MB / 422.5 MB, free: 6.586 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.3099, allocations: 490.7 kB / 423 MB, free: 6.102 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.31, allocations: 7.938 kB / 423 MB, free: 6.094 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001409/0.3101, allocations: 11.86 kB / 423 MB, free: 6.082 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.724e-05/0.3102, allocations: 27.8 kB / 423 MB, free: 6.055 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001909/0.3104, allocations: 31.95 kB / 423.1 MB, free: 6.023 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002476/0.3107, allocations: 103.6 kB / 423.2 MB, free: 5.922 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.3108, allocations: 29.39 kB / 423.2 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.3109, allocations: 39.84 kB / 423.2 MB, free: 5.852 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.311, allocations: 47.72 kB / 423.3 MB, free: 5.805 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.604e-05/0.3111, allocations: 8 kB / 423.3 MB, free: 5.797 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.33e-05/0.3111, allocations: 8 kB / 423.3 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.75e-05/0.3111, allocations: 23.92 kB / 423.3 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.525e-05/0.3112, allocations: 43.73 kB / 423.4 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002466/0.3115, allocations: 107.5 kB / 423.5 MB, free: 5.617 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.3115, allocations: 0 / 423.5 MB, free: 5.617 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3115, allocations: 0 / 423.5 MB, free: 5.617 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.3115, allocations: 4 kB / 423.5 MB, free: 5.613 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.0007836/0.3122, allocations: 402.2 kB / 423.9 MB, free: 5.176 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.3123, allocations: 8.031 kB / 423.9 MB, free: 5.168 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.139e-05/0.3123, allocations: 12.89 kB / 423.9 MB, free: 5.156 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003682/0.3127, allocations: 200.2 kB / 424.1 MB, free: 4.922 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.3127, allocations: 8.562 kB / 424.1 MB, free: 4.914 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.609e-05/0.3128, allocations: 16.33 kB / 424.1 MB, free: 4.898 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003883/0.3132, allocations: 115.3 kB / 424.2 MB, free: 4.773 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.3132, allocations: 0 / 424.2 MB, free: 4.773 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/0.3132, allocations: 8 kB / 424.2 MB, free: 4.766 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.3132, allocations: 0 / 424.2 MB, free: 4.766 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003507/0.3136, allocations: 75.88 kB / 424.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000923/0.3145, allocations: 0.5249 MB / 424.8 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003202/0.3148, allocations: 82.53 kB / 424.9 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/0.315, allocations: 44.77 kB / 425 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.315, allocations: 0 / 425 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/0.315, allocations: 34.56 kB / 425 MB, free: 3.922 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 2.024e-06/0.315, allocations: 3.938 kB / 425 MB, free: 3.918 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005952/0.3156, allocations: 113.6 kB / 425.1 MB, free: 3.801 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.329e-05/0.3157, allocations: 63.39 kB / 425.2 MB, free: 3.727 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.3159, allocations: 129.2 kB / 425.3 MB, free: 3.594 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.3159, allocations: 25.7 kB / 425.3 MB, free: 3.562 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.647e-05/0.316, allocations: 115.9 kB / 425.4 MB, free: 3.445 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.718e-05/0.316, allocations: 27.8 kB / 425.5 MB, free: 3.418 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.221e-05/0.3161, allocations: 29.66 kB / 425.5 MB, free: 3.383 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.3163, allocations: 322.8 kB / 425.8 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.3164, allocations: 39.97 kB / 425.8 MB, free: 3.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.3167, allocations: 60.27 kB / 425.9 MB, free: 2.945 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003312/0.317, allocations: 104.2 kB / 426 MB, free: 2.828 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.317, allocations: 0 / 426 MB, free: 2.828 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000437/0.3174, allocations: 137.4 kB / 426.1 MB, free: 2.688 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.3174, allocations: 4 kB / 426.1 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.3175, allocations: 8.109 kB / 426.2 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.3175, allocations: 4 kB / 426.2 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/0.3177, allocations: 31.92 kB / 426.2 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.3177, allocations: 4 kB / 426.2 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.3179, allocations: 15.92 kB / 426.2 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.3179, allocations: 4 kB / 426.2 MB, free: 2.617 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.0001062/0.318, allocations: 117.8 kB / 426.3 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.318, allocations: 7.953 kB / 426.3 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.88e-05/0.318, allocations: 20.47 kB / 426.4 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.318, allocations: 3.938 kB / 426.4 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.3181, allocations: 0 / 426.4 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3181, allocations: 7.922 kB / 426.4 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/0.3183, allocations: 197.7 kB / 426.6 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3183, allocations: 0 / 426.6 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001862/0.3185, allocations: 19.98 kB / 426.6 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.3185, allocations: 0 / 426.6 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.3185, allocations: 7.984 kB / 426.6 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3185, allocations: 0 / 426.6 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3185, allocations: 4 kB / 426.6 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005794/0.3191, allocations: 235.3 kB / 426.8 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.62e-05/0.3192, allocations: 89 kB / 426.9 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.3192, allocations: 3.938 kB / 426.9 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.3193, allocations: 16.03 kB / 426.9 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.754e-05/0.3194, allocations: 7.938 kB / 426.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.3194, allocations: 4 kB / 426.9 MB, free: 1.793 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001118/0.3195, allocations: 99.27 kB / 427 MB, free: 1.695 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3195, allocations: 0 / 427 MB, free: 1.695 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003916/0.3199, allocations: 16 kB / 427 MB, free: 1.68 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.0001503/0.3201, allocations: 103.2 kB / 427.1 MB, free: 1.57 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003743/0.3204, allocations: 80.06 kB / 427.2 MB, free: 1.492 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3204, allocations: 0 / 427.2 MB, free: 1.492 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.3206, allocations: 35.91 kB / 427.3 MB, free: 1.457 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004776/0.321, allocations: 27.92 kB / 427.3 MB, free: 1.43 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009916/0.322, allocations: 360.3 kB / 427.6 MB, free: 1.047 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004779/0.3225, allocations: 0.6963 MB / 428.3 MB, free: 332 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.147e-05/0.3226, allocations: 8.375 kB / 428.3 MB, free: 324 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.58e-05/0.3226, allocations: 11.44 kB / 428.4 MB, free: 312 kB / 334.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3226, allocations: 4 kB / 428.4 MB, free: 308 kB / 334.1 MB Notification: Performance of Templates: time 0.00529/0.3279, allocations: 1.025 MB / 429.4 MB, free: 15.29 MB / 350.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","/var/lib/jenkins/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