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/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 trunk/package.mo", uses=false) 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) 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_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/ModelicaServices trunk/package.mo): time 0.00135/0.00135, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001406/0.001406, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002366/0.002366, allocations: 63.42 kB / 307 MB, free: 0.6094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1236, allocations: 50.54 MB / 357.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.003312/0.127, allocations: 1.875 MB / 359.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008659/0.1279, allocations: 494.8 kB / 359.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.999e-05/0.128, allocations: 0 / 359.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001331/0.1281, allocations: 19.8 kB / 359.9 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.075e-05/0.1282, allocations: 23.72 kB / 359.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001612/0.1284, allocations: 27.97 kB / 359.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.1285, allocations: 103.6 kB / 360 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.1287, allocations: 57.28 kB / 360.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.29e-05/0.1288, allocations: 31.92 kB / 360.1 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.851e-05/0.1289, allocations: 43.78 kB / 360.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.3e-05/0.1289, allocations: 8 kB / 360.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.306e-05/0.1289, allocations: 8 kB / 360.2 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.866e-05/0.129, allocations: 19.92 kB / 360.2 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.3e-05/0.1291, allocations: 59.66 kB / 360.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.1292, allocations: 87.92 kB / 360.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1292, allocations: 8 kB / 360.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1292, allocations: 0 / 360.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.1293, allocations: 0 / 360.4 MB, free: 11.2 MB / 302.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.000626/0.1299, allocations: 407.3 kB / 360.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.1299, allocations: 8.031 kB / 360.8 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.012e-05/0.13, allocations: 16.83 kB / 360.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/0.1303, allocations: 192.1 kB / 361 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.1303, allocations: 8.562 kB / 361 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.024e-05/0.1304, allocations: 16.38 kB / 361 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002998/0.1307, allocations: 122.7 kB / 361.1 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1307, allocations: 0 / 361.1 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.1307, allocations: 4 kB / 361.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.1308, allocations: 3.984 kB / 361.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002335/0.131, allocations: 75.88 kB / 361.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007397/0.1317, allocations: 0.5207 MB / 361.7 MB, free: 9.676 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.132, allocations: 82.59 kB / 361.8 MB, free: 9.586 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.1321, allocations: 36.84 kB / 361.8 MB, free: 9.547 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.1321, allocations: 0 / 361.8 MB, free: 9.547 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.1322, allocations: 34.56 kB / 361.9 MB, free: 9.504 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.1322, allocations: 0 / 361.9 MB, free: 9.504 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004292/0.1326, allocations: 125.5 kB / 362 MB, free: 9.375 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.1327, allocations: 55.41 kB / 362 MB, free: 9.309 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.1328, allocations: 125.8 kB / 362.2 MB, free: 9.176 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.1328, allocations: 25.7 kB / 362.2 MB, free: 9.145 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.45e-05/0.1329, allocations: 119.8 kB / 362.3 MB, free: 9.023 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.133, allocations: 31.58 kB / 362.3 MB, free: 8.992 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.867e-05/0.133, allocations: 29.72 kB / 362.4 MB, free: 8.957 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1332, allocations: 326.8 kB / 362.7 MB, free: 8.629 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.1333, allocations: 27.98 kB / 362.7 MB, free: 8.602 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.1334, allocations: 68.25 kB / 362.8 MB, free: 8.52 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/0.1337, allocations: 112.2 kB / 362.9 MB, free: 8.395 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1337, allocations: 0 / 362.9 MB, free: 8.395 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003147/0.134, allocations: 137.4 kB / 363 MB, free: 8.254 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.134, allocations: 8.125 kB / 363 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.134, allocations: 0 / 363 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.1341, allocations: 4 kB / 363 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.1342, allocations: 31.97 kB / 363.1 MB, free: 8.211 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.1343, allocations: 3.938 kB / 363.1 MB, free: 8.207 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.513e-05/0.1344, allocations: 15.84 kB / 363.1 MB, free: 8.191 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.1344, allocations: 8 kB / 363.1 MB, free: 8.184 MB / 302.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.0001061/0.1345, allocations: 117.8 kB / 363.2 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.322e-05/0.1345, allocations: 15.89 kB / 363.2 MB, free: 8.043 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.511e-05/0.1346, allocations: 8.375 kB / 363.2 MB, free: 8.035 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1346, allocations: 4 kB / 363.2 MB, free: 8.031 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1346, allocations: 0 / 363.2 MB, free: 8.031 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.1346, allocations: 0 / 363.2 MB, free: 8.031 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.1348, allocations: 201.6 kB / 363.4 MB, free: 7.785 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1348, allocations: 0 / 363.4 MB, free: 7.785 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.135, allocations: 23.98 kB / 363.5 MB, free: 7.762 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.135, allocations: 0 / 363.5 MB, free: 7.762 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.135, allocations: 4 kB / 363.5 MB, free: 7.758 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.165e-06/0.135, allocations: 7.938 kB / 363.5 MB, free: 7.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.135, allocations: 0 / 363.5 MB, free: 7.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004179/0.1354, allocations: 227.3 kB / 363.7 MB, free: 7.512 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.528e-05/0.1355, allocations: 85.05 kB / 363.8 MB, free: 7.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.1355, allocations: 4 kB / 363.8 MB, free: 7.406 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.447e-05/0.1356, allocations: 12 kB / 363.8 MB, free: 7.395 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.1357, allocations: 4.078 kB / 363.8 MB, free: 7.391 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.1357, allocations: 7.938 kB / 363.8 MB, free: 7.383 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.678e-05/0.1358, allocations: 97.66 kB / 363.9 MB, free: 7.289 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.774e-06/0.1358, allocations: 0 / 363.9 MB, free: 7.289 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002477/0.136, allocations: 31.78 kB / 363.9 MB, free: 7.258 MB / 302.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.0001397/0.1362, allocations: 99.19 kB / 364 MB, free: 7.148 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002997/0.1365, allocations: 91.86 kB / 364.1 MB, free: 7.059 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1365, allocations: 0 / 364.1 MB, free: 7.059 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.1366, allocations: 31.98 kB / 364.1 MB, free: 7.027 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000412/0.137, allocations: 27.67 kB / 364.2 MB, free: 7.004 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007512/0.1378, allocations: 360.2 kB / 364.5 MB, free: 6.625 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.1382, allocations: 0.7041 MB / 365.2 MB, free: 5.895 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.96e-05/0.1382, allocations: 8.422 kB / 365.2 MB, free: 5.887 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.018e-05/0.1383, allocations: 11.44 kB / 365.2 MB, free: 5.875 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1383, allocations: 0 / 365.2 MB, free: 5.875 MB / 302.1 MB Notification: Performance of Templates: time 0.003806/0.1421, allocations: 0.9867 MB / 366.2 MB, free: 4.898 MB / 302.1 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.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches