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.001018/0.001019, allocations: 94.75 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001068/0.001068, allocations: 205.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.53/1.53, allocations: 227.2 MB / 245.9 MB, free: 12.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002583/0.0002584, allocations: 8 kB / 306.6 MB, free: 1.672 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1235, allocations: 51.49 MB / 358.1 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.002218/0.1257, allocations: 1.532 MB / 359.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008405/0.1266, allocations: 471.2 kB / 360 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.1267, allocations: 4 kB / 360 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.419e-05/0.1268, allocations: 7.922 kB / 360.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.1269, allocations: 31.88 kB / 360.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001528/0.1271, allocations: 15.98 kB / 360.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.1273, allocations: 75.78 kB / 360.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.1274, allocations: 33.56 kB / 360.2 MB, free: 12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.726e-05/0.1276, allocations: 31.91 kB / 360.2 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.668e-05/0.1276, allocations: 39.78 kB / 360.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.1277, allocations: 4 kB / 360.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.344e-05/0.1277, allocations: 4 kB / 360.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.44e-05/0.1277, allocations: 15.92 kB / 360.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.987e-05/0.1278, allocations: 37.64 kB / 360.3 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.1279, allocations: 68.08 kB / 360.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1279, allocations: 4 kB / 360.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1279, allocations: 0 / 360.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1279, allocations: 4 kB / 360.4 MB, free: 11.79 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.0005385/0.1285, allocations: 395.2 kB / 360.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.1285, allocations: 8.031 kB / 360.8 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.688e-05/0.1286, allocations: 11.91 kB / 360.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.1288, allocations: 190.9 kB / 361 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.1288, allocations: 8.188 kB / 361 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.523e-05/0.1289, allocations: 19.86 kB / 361 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002944/0.1292, allocations: 130.5 kB / 361.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.1292, allocations: 0 / 361.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.1292, allocations: 0 / 361.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.1292, allocations: 4 kB / 361.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002311/0.1294, allocations: 87.88 kB / 361.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000718/0.1302, allocations: 0.5209 MB / 361.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.1304, allocations: 78.61 kB / 361.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.1304, allocations: 0 / 361.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.1304, allocations: 42.55 kB / 361.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.1304, allocations: 0 / 361.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004558/0.1309, allocations: 145.6 kB / 362 MB, free: 9.988 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.1309, allocations: 51.41 kB / 362.1 MB, free: 9.926 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.1311, allocations: 124.1 kB / 362.2 MB, free: 9.797 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.1311, allocations: 33.7 kB / 362.2 MB, free: 9.758 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.038e-05/0.1312, allocations: 111.8 kB / 362.3 MB, free: 9.645 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.1312, allocations: 27.64 kB / 362.4 MB, free: 9.617 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-06/0.1312, allocations: 0 / 362.4 MB, free: 9.617 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1314, allocations: 318.8 kB / 362.7 MB, free: 9.297 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.1315, allocations: 39.98 kB / 362.7 MB, free: 9.258 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.1316, allocations: 68.27 kB / 362.8 MB, free: 9.176 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.1318, allocations: 59.84 kB / 362.8 MB, free: 9.117 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1318, allocations: 0 / 362.8 MB, free: 9.117 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002962/0.1321, allocations: 149.4 kB / 363 MB, free: 8.965 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.1321, allocations: 4 kB / 363 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.1321, allocations: 4 kB / 363 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.1321, allocations: 0 / 363 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.1323, allocations: 35.97 kB / 363 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1323, allocations: 3.938 kB / 363 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.33e-05/0.1324, allocations: 23.92 kB / 363.1 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.1324, allocations: 11.94 kB / 363.1 MB, free: 8.883 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.175e-05/0.1325, allocations: 113.8 kB / 363.2 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.1325, allocations: 11.86 kB / 363.2 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.615e-05/0.1326, allocations: 12.38 kB / 363.2 MB, free: 8.734 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1326, allocations: 0 / 363.2 MB, free: 8.734 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.1326, allocations: 0 / 363.2 MB, free: 8.734 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.1326, allocations: 0 / 363.2 MB, free: 8.734 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/0.1328, allocations: 197.6 kB / 363.4 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1328, allocations: 0 / 363.4 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.133, allocations: 27.92 kB / 363.4 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/0.133, allocations: 3.953 kB / 363.4 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.133, allocations: 12 kB / 363.4 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.133, allocations: 0 / 363.4 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.133, allocations: 0 / 363.4 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004167/0.1334, allocations: 251.7 kB / 363.7 MB, free: 8.188 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.006e-05/0.1335, allocations: 85.02 kB / 363.8 MB, free: 8.086 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.1335, allocations: 3.953 kB / 363.8 MB, free: 8.082 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.088e-05/0.1336, allocations: 16.03 kB / 363.8 MB, free: 8.066 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/0.1337, allocations: 4 kB / 363.8 MB, free: 8.062 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.1337, allocations: 4 kB / 363.8 MB, free: 8.059 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.656e-05/0.1337, allocations: 95.27 kB / 363.9 MB, free: 7.965 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1337, allocations: 0 / 363.9 MB, free: 7.965 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002487/0.134, allocations: 24.03 kB / 363.9 MB, free: 7.941 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001321/0.1341, allocations: 107.1 kB / 364 MB, free: 7.824 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002764/0.1344, allocations: 91.89 kB / 364.1 MB, free: 7.734 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1344, allocations: 0 / 364.1 MB, free: 7.734 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.1345, allocations: 40.22 kB / 364.2 MB, free: 7.695 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.1348, allocations: 25.64 kB / 364.2 MB, free: 7.676 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007284/0.1356, allocations: 433.1 kB / 364.6 MB, free: 7.227 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.1359, allocations: 0.7043 MB / 365.3 MB, free: 6.496 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.567e-05/0.136, allocations: 12.42 kB / 365.3 MB, free: 6.484 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.041e-05/0.136, allocations: 11.44 kB / 365.3 MB, free: 6.473 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.136, allocations: 0 / 365.3 MB, free: 6.473 MB / 302.1 MB Notification: Performance of Templates: time 0.003656/0.1397, allocations: 0.845 MB / 366.2 MB, free: 5.633 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.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