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.001462/0.001462, 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.001358/0.001358, 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 4.1.0-beta.om/package.mo): time 1.431/1.431, allocations: 227.7 MB / 247 MB, free: 10.26 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.001922/0.001922, allocations: 69.17 kB / 307.2 MB, free: 468 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1022, allocations: 50.54 MB / 357.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.003428/0.1056, allocations: 1.861 MB / 359.6 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009007/0.1066, allocations: 0.491 MB / 360.1 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.749e-05/0.1067, allocations: 4 kB / 360.1 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.1068, allocations: 7.875 kB / 360.1 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.711e-05/0.1069, allocations: 31.66 kB / 360.2 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000161/0.107, allocations: 27.97 kB / 360.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.1072, allocations: 99.64 kB / 360.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.1074, allocations: 53.3 kB / 360.3 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.706e-05/0.1075, allocations: 35.92 kB / 360.4 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.127e-05/0.1076, allocations: 43.78 kB / 360.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.1076, allocations: 8 kB / 360.4 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.265e-05/0.1076, allocations: 8 kB / 360.4 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.302e-05/0.1077, allocations: 19.92 kB / 360.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.253e-05/0.1078, allocations: 55.66 kB / 360.5 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.1079, allocations: 95.91 kB / 360.6 MB, free: 11.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1079, allocations: 0 / 360.6 MB, free: 11.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.108, allocations: 4 kB / 360.6 MB, free: 11.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.108, allocations: 0 / 360.6 MB, free: 11.04 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.0006014/0.1086, allocations: 407.2 kB / 361 MB, free: 10.6 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.1086, allocations: 12.03 kB / 361 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.279e-05/0.1087, allocations: 8.844 kB / 361 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.1089, allocations: 196.1 kB / 361.2 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.1089, allocations: 12.56 kB / 361.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.234e-05/0.109, allocations: 12.38 kB / 361.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002927/0.1093, allocations: 128.9 kB / 361.4 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.1093, allocations: 0 / 361.4 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.1093, allocations: 0 / 361.4 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.1093, allocations: 4 kB / 361.4 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002373/0.1096, allocations: 67.94 kB / 361.4 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006734/0.1103, allocations: 0.5285 MB / 362 MB, free: 9.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.1105, allocations: 82.53 kB / 362 MB, free: 9.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.1106, allocations: 36.84 kB / 362.1 MB, free: 9.391 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.1106, allocations: 0 / 362.1 MB, free: 9.391 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.1106, allocations: 38.55 kB / 362.1 MB, free: 9.344 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.1107, allocations: 0 / 362.1 MB, free: 9.344 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004076/0.1111, allocations: 125.5 kB / 362.2 MB, free: 9.215 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.1111, allocations: 51.41 kB / 362.3 MB, free: 9.152 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.1112, allocations: 129.6 kB / 362.4 MB, free: 9.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.1113, allocations: 29.7 kB / 362.4 MB, free: 8.984 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.27e-05/0.1113, allocations: 115.8 kB / 362.6 MB, free: 8.867 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.1114, allocations: 31.58 kB / 362.6 MB, free: 8.836 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.8e-05/0.1114, allocations: 29.72 kB / 362.6 MB, free: 8.801 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.1116, allocations: 322.8 kB / 362.9 MB, free: 8.477 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.1117, allocations: 35.97 kB / 363 MB, free: 8.441 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.1118, allocations: 64.27 kB / 363 MB, free: 8.363 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002341/0.112, allocations: 108.2 kB / 363.1 MB, free: 8.242 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1121, allocations: 0 / 363.1 MB, free: 8.242 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002924/0.1124, allocations: 137.4 kB / 363.3 MB, free: 8.102 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.1124, allocations: 8 kB / 363.3 MB, free: 8.094 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1124, allocations: 4.125 kB / 363.3 MB, free: 8.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.1124, allocations: 0 / 363.3 MB, free: 8.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.1126, allocations: 31.97 kB / 363.3 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.1126, allocations: 4 kB / 363.3 MB, free: 8.055 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.423e-05/0.1127, allocations: 11.84 kB / 363.3 MB, free: 8.043 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.1127, allocations: 11.98 kB / 363.3 MB, free: 8.031 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.552e-05/0.1128, allocations: 121.7 kB / 363.5 MB, free: 7.902 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.771e-05/0.1128, allocations: 7.906 kB / 363.5 MB, free: 7.895 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.202e-05/0.1129, allocations: 16.38 kB / 363.5 MB, free: 7.879 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.1129, allocations: 0 / 363.5 MB, free: 7.879 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.1129, allocations: 0 / 363.5 MB, free: 7.879 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.1129, allocations: 0 / 363.5 MB, free: 7.879 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/0.1131, allocations: 201.5 kB / 363.7 MB, free: 7.633 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1131, allocations: 0 / 363.7 MB, free: 7.633 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.1132, allocations: 23.98 kB / 363.7 MB, free: 7.609 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1133, allocations: 4 kB / 363.7 MB, free: 7.605 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.1133, allocations: 0 / 363.7 MB, free: 7.605 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1133, allocations: 0 / 363.7 MB, free: 7.605 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.1133, allocations: 8 kB / 363.7 MB, free: 7.598 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004072/0.1137, allocations: 235.3 kB / 363.9 MB, free: 7.352 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.927e-05/0.1138, allocations: 85.02 kB / 364 MB, free: 7.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.1138, allocations: 0 / 364 MB, free: 7.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.952e-05/0.1139, allocations: 8 kB / 364 MB, free: 7.242 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.1139, allocations: 11.98 kB / 364 MB, free: 7.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.1139, allocations: 0 / 364 MB, free: 7.23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.171e-05/0.114, allocations: 95.27 kB / 364.1 MB, free: 7.137 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.913e-06/0.114, allocations: 0 / 364.1 MB, free: 7.137 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002381/0.1142, allocations: 31.78 kB / 364.2 MB, free: 7.105 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 9.575e-05/0.1143, allocations: 95.25 kB / 364.3 MB, free: 7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002918/0.1146, allocations: 100 kB / 364.4 MB, free: 6.902 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1147, allocations: 0 / 364.4 MB, free: 6.902 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.1148, allocations: 35.97 kB / 364.4 MB, free: 6.867 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.1151, allocations: 20.48 kB / 364.4 MB, free: 6.848 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006444/0.1158, allocations: 368.1 kB / 364.8 MB, free: 6.461 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.1161, allocations: 0.6924 MB / 365.5 MB, free: 5.742 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.716e-05/0.1161, allocations: 12.42 kB / 365.5 MB, free: 5.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.851e-05/0.1162, allocations: 15.44 kB / 365.5 MB, free: 5.715 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.1162, allocations: 0 / 365.5 MB, free: 5.715 MB / 302.1 MB Notification: Performance of Templates: time 0.003666/0.1198, allocations: 0.9845 MB / 366.5 MB, free: 4.746 MB / 302.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