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.00189/0.00189, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002436/0.002436, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 64.45 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1225, allocations: 50.54 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.004092/0.1266, allocations: 1.865 MB / 360.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.1278, allocations: 494.8 kB / 361.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001648/0.128, allocations: 4 kB / 361.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001556/0.1282, allocations: 15.86 kB / 361.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.1283, allocations: 23.8 kB / 361.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.1285, allocations: 31.89 kB / 361.3 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001889/0.1287, allocations: 103.6 kB / 361.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.1289, allocations: 41.38 kB / 361.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.85e-05/0.129, allocations: 35.8 kB / 361.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.364e-05/0.1291, allocations: 47.72 kB / 361.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.644e-05/0.1291, allocations: 12 kB / 361.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.067e-05/0.1292, allocations: 12 kB / 361.6 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.005e-05/0.1292, allocations: 23.91 kB / 361.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.951e-05/0.1293, allocations: 47.73 kB / 361.6 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.1294, allocations: 103.6 kB / 361.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1294, allocations: 0 / 361.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1295, allocations: 0 / 361.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.1295, allocations: 0 / 361.7 MB, free: 10.5 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.0005715/0.13, allocations: 403.3 kB / 362.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.1301, allocations: 12.03 kB / 362.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.575e-05/0.1301, allocations: 8.844 kB / 362.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.1304, allocations: 208 kB / 362.3 MB, free: 9.793 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.1304, allocations: 0.5625 kB / 362.3 MB, free: 9.793 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.494e-05/0.1305, allocations: 12.38 kB / 362.4 MB, free: 9.781 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002815/0.1308, allocations: 126.8 kB / 362.5 MB, free: 9.648 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.1308, allocations: 4 kB / 362.5 MB, free: 9.645 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.1308, allocations: 4 kB / 362.5 MB, free: 9.641 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.1308, allocations: 4 kB / 362.5 MB, free: 9.637 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002347/0.1311, allocations: 67.94 kB / 362.6 MB, free: 9.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007462/0.1318, allocations: 0.5246 MB / 363.1 MB, free: 8.977 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.1321, allocations: 86.55 kB / 363.2 MB, free: 8.883 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.1322, allocations: 44.81 kB / 363.2 MB, free: 8.836 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.1322, allocations: 3.938 kB / 363.2 MB, free: 8.832 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.1323, allocations: 30.56 kB / 363.2 MB, free: 8.793 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.1323, allocations: 4 kB / 363.3 MB, free: 8.789 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004376/0.1327, allocations: 117.7 kB / 363.4 MB, free: 8.668 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.1328, allocations: 59.33 kB / 363.4 MB, free: 8.598 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.1329, allocations: 129.8 kB / 363.6 MB, free: 8.461 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.1329, allocations: 25.7 kB / 363.6 MB, free: 8.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.537e-05/0.133, allocations: 115.8 kB / 363.7 MB, free: 8.312 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.133, allocations: 31.64 kB / 363.7 MB, free: 8.281 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.82e-05/0.1331, allocations: 25.72 kB / 363.7 MB, free: 8.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1332, allocations: 322.8 kB / 364.1 MB, free: 7.926 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.1334, allocations: 35.97 kB / 364.1 MB, free: 7.891 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.1335, allocations: 60.27 kB / 364.2 MB, free: 7.816 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002334/0.1337, allocations: 112.1 kB / 364.3 MB, free: 7.691 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1337, allocations: 0 / 364.3 MB, free: 7.691 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003024/0.134, allocations: 133.4 kB / 364.4 MB, free: 7.555 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.1341, allocations: 4 kB / 364.4 MB, free: 7.551 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.1341, allocations: 4 kB / 364.4 MB, free: 7.547 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.1341, allocations: 0 / 364.4 MB, free: 7.547 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.1343, allocations: 35.91 kB / 364.4 MB, free: 7.512 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.1343, allocations: 4 kB / 364.4 MB, free: 7.508 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.886e-05/0.1344, allocations: 19.83 kB / 364.5 MB, free: 7.488 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/0.1344, allocations: 4.125 kB / 364.5 MB, free: 7.484 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 9.326e-05/0.1345, allocations: 133.7 kB / 364.6 MB, free: 7.344 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.701e-05/0.1346, allocations: 7.906 kB / 364.6 MB, free: 7.336 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.615e-05/0.1346, allocations: 12.38 kB / 364.6 MB, free: 7.324 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1346, allocations: 0 / 364.6 MB, free: 7.324 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.1346, allocations: 0 / 364.6 MB, free: 7.324 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1346, allocations: 0 / 364.6 MB, free: 7.324 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.1348, allocations: 197.6 kB / 364.8 MB, free: 7.082 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1349, allocations: 0 / 364.8 MB, free: 7.082 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/0.135, allocations: 23.98 kB / 364.8 MB, free: 7.059 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.135, allocations: 4 kB / 364.8 MB, free: 7.055 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.135, allocations: 0 / 364.8 MB, free: 7.055 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.135, allocations: 0 / 364.8 MB, free: 7.055 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.135, allocations: 3.984 kB / 364.8 MB, free: 7.051 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003893/0.1354, allocations: 239.2 kB / 365.1 MB, free: 6.801 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.26e-05/0.1355, allocations: 89.02 kB / 365.2 MB, free: 6.695 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.1355, allocations: 4 kB / 365.2 MB, free: 6.691 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.241e-05/0.1356, allocations: 12.03 kB / 365.2 MB, free: 6.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.1357, allocations: 4 kB / 365.2 MB, free: 6.676 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.1357, allocations: 0 / 365.2 MB, free: 6.676 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.163e-05/0.1358, allocations: 102.6 kB / 365.3 MB, free: 6.578 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1358, allocations: 96 / 365.3 MB, free: 6.578 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.136, allocations: 27.78 kB / 365.3 MB, free: 6.551 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.0001191/0.1361, allocations: 107.2 kB / 365.4 MB, free: 6.434 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002663/0.1364, allocations: 75.89 kB / 365.5 MB, free: 6.359 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.1364, allocations: 0 / 365.5 MB, free: 6.359 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.1366, allocations: 39.91 kB / 365.5 MB, free: 6.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.1369, allocations: 22.33 kB / 365.5 MB, free: 6.301 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006728/0.1376, allocations: 360.3 kB / 365.9 MB, free: 5.918 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.1379, allocations: 0.7002 MB / 366.6 MB, free: 5.191 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.896e-05/0.1379, allocations: 8.438 kB / 366.6 MB, free: 5.184 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.798e-05/0.138, allocations: 11.44 kB / 366.6 MB, free: 5.172 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.138, allocations: 0 / 366.6 MB, free: 5.172 MB / 302.1 MB Notification: Performance of Templates: time 0.003781/0.1418, allocations: 0.9832 MB / 367.6 MB, free: 4.199 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches