Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00155/0.00155, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009538/0.0009538, allocations: 101.7 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009656/0.0009657, allocations: 48.16 kB / 356.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2092, allocations: 50.46 MB / 407 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.002391/0.2117, allocations: 1.923 MB / 409 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005881/0.2123, allocations: 494.8 kB / 409.5 MB, free: 25.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.748e-05/0.2124, allocations: 3.938 kB / 409.5 MB, free: 25.4 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.2125, allocations: 11.92 kB / 409.5 MB, free: 25.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.935e-05/0.2125, allocations: 19.8 kB / 409.5 MB, free: 25.37 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001237/0.2127, allocations: 23.97 kB / 409.5 MB, free: 25.35 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.2128, allocations: 95.66 kB / 409.6 MB, free: 25.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.2129, allocations: 45.31 kB / 409.6 MB, free: 25.21 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.88e-05/0.2129, allocations: 35.91 kB / 409.7 MB, free: 25.17 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.653e-05/0.213, allocations: 35.78 kB / 409.7 MB, free: 25.14 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.213, allocations: 8 kB / 409.7 MB, free: 25.13 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.662e-05/0.2131, allocations: 4 kB / 409.7 MB, free: 25.12 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.912e-05/0.2131, allocations: 23.86 kB / 409.8 MB, free: 25.1 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.718e-05/0.2131, allocations: 47.73 kB / 409.8 MB, free: 25.05 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.523e-05/0.2132, allocations: 97.16 kB / 409.9 MB, free: 24.96 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2132, allocations: 0 / 409.9 MB, free: 24.96 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.2132, allocations: 4 kB / 409.9 MB, free: 24.96 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.616e-06/0.2132, allocations: 0 / 409.9 MB, free: 24.96 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.0004185/0.2137, allocations: 411.3 kB / 410.3 MB, free: 24.51 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.2137, allocations: 8.031 kB / 410.3 MB, free: 24.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.229e-05/0.2137, allocations: 8.844 kB / 410.3 MB, free: 24.49 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.2139, allocations: 196.1 kB / 410.5 MB, free: 24.26 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.2139, allocations: 4.562 kB / 410.5 MB, free: 24.26 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.2139, allocations: 16.28 kB / 410.5 MB, free: 24.24 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.2142, allocations: 122.9 kB / 410.6 MB, free: 24.11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.2142, allocations: 7.984 kB / 410.7 MB, free: 24.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.2142, allocations: 4 kB / 410.7 MB, free: 24.1 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2142, allocations: 4 kB / 410.7 MB, free: 24.1 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001947/0.2144, allocations: 67.89 kB / 410.7 MB, free: 24.03 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000466/0.2149, allocations: 0.5285 MB / 411.3 MB, free: 23.44 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.215, allocations: 74.61 kB / 411.3 MB, free: 23.36 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.2152, allocations: 44.81 kB / 411.4 MB, free: 23.31 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.2152, allocations: 0 / 411.4 MB, free: 23.31 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.695e-05/0.2152, allocations: 30.56 kB / 411.4 MB, free: 23.27 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.2152, allocations: 7.938 kB / 411.4 MB, free: 23.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003574/0.2156, allocations: 129.7 kB / 411.5 MB, free: 23.13 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.008e-05/0.2156, allocations: 51.41 kB / 411.6 MB, free: 23.07 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.915e-05/0.2157, allocations: 128.6 kB / 411.7 MB, free: 22.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.2157, allocations: 25.7 kB / 411.7 MB, free: 22.9 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.039e-05/0.2157, allocations: 111.8 kB / 411.9 MB, free: 22.79 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.2158, allocations: 27.59 kB / 411.9 MB, free: 22.76 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/0.2158, allocations: 29.7 kB / 411.9 MB, free: 22.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.824e-05/0.2159, allocations: 326.7 kB / 412.2 MB, free: 22.4 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.595e-05/0.216, allocations: 35.97 kB / 412.3 MB, free: 22.36 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.546e-05/0.2161, allocations: 68.2 kB / 412.3 MB, free: 22.28 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.2163, allocations: 104.2 kB / 412.4 MB, free: 22.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2163, allocations: 4 kB / 412.4 MB, free: 22.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002415/0.2165, allocations: 129.4 kB / 412.6 MB, free: 22.03 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.2165, allocations: 8 kB / 412.6 MB, free: 22.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.2165, allocations: 4.125 kB / 412.6 MB, free: 22.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.2166, allocations: 0 / 412.6 MB, free: 22.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.2167, allocations: 31.98 kB / 412.6 MB, free: 21.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.2167, allocations: 7.938 kB / 412.6 MB, free: 21.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.679e-05/0.2168, allocations: 11.89 kB / 412.6 MB, free: 21.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.2168, allocations: 4 kB / 412.6 MB, free: 21.96 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 5.597e-05/0.2169, allocations: 131.2 kB / 412.8 MB, free: 21.82 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.2169, allocations: 3.906 kB / 412.8 MB, free: 21.82 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.646e-05/0.2169, allocations: 16.38 kB / 412.8 MB, free: 21.8 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.2169, allocations: 3.984 kB / 412.8 MB, free: 21.79 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.2169, allocations: 0 / 412.8 MB, free: 21.79 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.2169, allocations: 0 / 412.8 MB, free: 21.79 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.2171, allocations: 201.5 kB / 413 MB, free: 21.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2171, allocations: 0 / 413 MB, free: 21.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.2172, allocations: 27.97 kB / 413 MB, free: 21.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2172, allocations: 0 / 413 MB, free: 21.52 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.086e-06/0.2172, allocations: 3.938 kB / 413 MB, free: 21.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2172, allocations: 96 / 413 MB, free: 21.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2173, allocations: 7.938 kB / 413 MB, free: 21.51 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.2185, allocations: 1.328 MB / 414.3 MB, free: 20.04 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.014e-05/0.2185, allocations: 85.02 kB / 414.4 MB, free: 19.94 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.2185, allocations: 8.031 kB / 414.4 MB, free: 19.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.335e-05/0.2186, allocations: 4 kB / 414.4 MB, free: 19.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.2187, allocations: 16.06 kB / 414.5 MB, free: 19.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-06/0.2187, allocations: 3.984 kB / 414.5 MB, free: 19.91 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.486e-05/0.2187, allocations: 99.27 kB / 414.6 MB, free: 19.81 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2187, allocations: 0 / 414.6 MB, free: 19.81 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002918/0.219, allocations: 31.84 kB / 414.6 MB, free: 19.78 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 6.284e-05/0.2191, allocations: 95.25 kB / 414.7 MB, free: 19.67 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002204/0.2193, allocations: 91.81 kB / 414.8 MB, free: 19.58 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2193, allocations: 0 / 414.8 MB, free: 19.58 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.945e-05/0.2194, allocations: 40.05 kB / 414.8 MB, free: 19.54 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.2197, allocations: 18.8 kB / 414.8 MB, free: 19.53 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005322/0.2203, allocations: 0.4934 MB / 415.3 MB, free: 19 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.2204, allocations: 0.7043 MB / 416 MB, free: 18.27 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.036e-05/0.2204, allocations: 12.41 kB / 416 MB, free: 18.25 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.517e-05/0.2205, allocations: 15.44 kB / 416 MB, free: 18.24 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2205, allocations: 0 / 416 MB, free: 18.24 MB / 298.7 MB Notification: Performance of Templates: time 0.00238/0.2229, allocations: 1.018 MB / 417.1 MB, free: 17.23 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@2/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