Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.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.ClockedWith_AD_DA_Effects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001502/0.001502, allocations: 117 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001792/0.001792, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 58.97 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09889/0.1, allocations: 50.53 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004203/0.1043, allocations: 2.689 MB / 361.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00174/0.1061, allocations: 0.9427 MB / 362.5 MB, free: 9.707 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002258/0.1063, allocations: 7.938 kB / 362.5 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002335/0.1066, allocations: 63.33 kB / 362.6 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002327/0.1068, allocations: 63.44 kB / 362.7 MB, free: 9.574 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006862/0.1075, allocations: 230.9 kB / 362.9 MB, free: 9.352 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003946/0.1079, allocations: 394.8 kB / 363.3 MB, free: 8.965 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003043/0.1083, allocations: 196.8 kB / 363.5 MB, free: 8.773 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001523/0.1084, allocations: 127.4 kB / 363.6 MB, free: 8.648 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.1086, allocations: 147.2 kB / 363.7 MB, free: 8.504 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.798e-05/0.1087, allocations: 32 kB / 363.8 MB, free: 8.473 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.1088, allocations: 67.95 kB / 363.8 MB, free: 8.406 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.1089, allocations: 87.64 kB / 363.9 MB, free: 8.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.109, allocations: 163 kB / 364.1 MB, free: 8.16 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004332/0.1095, allocations: 410.4 kB / 364.5 MB, free: 7.758 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1095, allocations: 4 kB / 364.5 MB, free: 7.754 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1095, allocations: 4 kB / 364.5 MB, free: 7.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.1095, allocations: 0 / 364.5 MB, free: 7.75 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0009787/0.1105, allocations: 0.6352 MB / 365.1 MB, free: 7.066 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.1105, allocations: 12.03 kB / 365.1 MB, free: 7.055 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.757e-05/0.1106, allocations: 40.47 kB / 365.2 MB, free: 7.016 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004986/0.1111, allocations: 335.8 kB / 365.5 MB, free: 6.652 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.806e-05/0.1112, allocations: 24.94 kB / 365.5 MB, free: 6.625 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.246e-05/0.1112, allocations: 24.38 kB / 365.5 MB, free: 6.602 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.1125, allocations: 0.7557 MB / 366.3 MB, free: 5.805 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.1125, allocations: 4 kB / 366.3 MB, free: 5.801 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.917e-05/0.1125, allocations: 16 kB / 366.3 MB, free: 5.785 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.875e-05/0.1126, allocations: 8 kB / 366.3 MB, free: 5.777 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005008/0.1131, allocations: 211.8 kB / 366.5 MB, free: 5.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008307/0.1139, allocations: 0.7721 MB / 367.3 MB, free: 4.723 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00099/0.1149, allocations: 0.6191 MB / 367.9 MB, free: 4.027 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004212/0.1153, allocations: 263.4 kB / 368.2 MB, free: 3.758 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006082/0.116, allocations: 0.5971 MB / 368.8 MB, free: 3.031 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.116, allocations: 46.5 kB / 368.8 MB, free: 2.977 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 2.605e-06/0.116, allocations: 0 / 368.8 MB, free: 2.977 MB / 302.1 MB Notification: Performance of matching and sorting (n=52): time 0.00111/0.1171, allocations: 0.5283 MB / 369.4 MB, free: 2.441 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.1173, allocations: 203.9 kB / 369.6 MB, free: 2.199 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.1175, allocations: 254.6 kB / 369.8 MB, free: 1.945 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.1176, allocations: 33.7 kB / 369.8 MB, free: 1.906 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.1177, allocations: 152.7 kB / 370 MB, free: 1.754 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.341e-05/0.1177, allocations: 43.59 kB / 370 MB, free: 1.711 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.785e-05/0.1178, allocations: 90.28 kB / 370.1 MB, free: 1.617 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1179, allocations: 346.8 kB / 370.5 MB, free: 1.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.1181, allocations: 85.06 kB / 370.5 MB, free: 1.184 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003557/0.1185, allocations: 438.9 kB / 371 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1956/0.3141, allocations: 0.5221 MB / 371.5 MB, free: 19.9 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.586e-05/0.3142, allocations: 3.062 kB / 371.5 MB, free: 19.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009571/0.3151, allocations: 0.4885 MB / 372 MB, free: 19.81 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.3152, allocations: 13.03 kB / 372 MB, free: 19.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/0.3152, allocations: 11.47 kB / 372 MB, free: 19.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.181e-05/0.3152, allocations: 15.97 kB / 372 MB, free: 19.81 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003299/0.3156, allocations: 119.9 kB / 372.1 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.463e-05/0.3156, allocations: 23.02 kB / 372.2 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002614/0.3159, allocations: 56.27 kB / 372.2 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.129e-05/0.3159, allocations: 31.53 kB / 372.2 MB, free: 19.8 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 6 ($CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[1],sample1.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 4 (PI.x,sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * 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.000234/0.3162, allocations: 194.6 kB / 372.4 MB, free: 19.67 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006339/0.3168, allocations: 343.3 kB / 372.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006723/0.3175, allocations: 358.3 kB / 373.1 MB, free: 19.59 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.3175, allocations: 5.969 kB / 373.1 MB, free: 19.59 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.3175, allocations: 2.125 kB / 373.1 MB, free: 19.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.3175, allocations: 4.266 kB / 373.1 MB, free: 19.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003729/0.3179, allocations: 340.7 kB / 373.5 MB, free: 19.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.3179, allocations: 3.188 kB / 373.5 MB, free: 19.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003737/0.3183, allocations: 101.1 kB / 373.6 MB, free: 19.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.3183, allocations: 4.469 kB / 373.6 MB, free: 19.38 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.3183, allocations: 12.81 kB / 373.6 MB, free: 19.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.3184, allocations: 2.438 kB / 373.6 MB, free: 19.38 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.3184, allocations: 9.031 kB / 373.6 MB, free: 19.38 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/0.3196, allocations: 0.781 MB / 374.4 MB, free: 19.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.19e-05/0.3197, allocations: 117.3 kB / 374.5 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.823e-05/0.3198, allocations: 16.02 kB / 374.5 MB, free: 18.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002487/0.32, allocations: 25.45 kB / 374.5 MB, free: 18.93 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.3201, allocations: 7.906 kB / 374.5 MB, free: 18.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.3201, allocations: 15.8 kB / 374.6 MB, free: 18.93 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001741/0.3203, allocations: 184.7 kB / 374.7 MB, free: 18.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.3203, allocations: 3.406 kB / 374.7 MB, free: 18.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005542/0.3208, allocations: 82.11 kB / 374.8 MB, free: 18.8 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (load.phi,load.w) * Number of discrete variables: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 4 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3],PI.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001798/0.321, allocations: 119.6 kB / 374.9 MB, free: 18.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007369/0.3218, allocations: 360.2 kB / 375.3 MB, free: 18.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3218, allocations: 1.375 kB / 375.3 MB, free: 18.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.461e-05/0.3219, allocations: 30.58 kB / 375.3 MB, free: 18.6 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009949/0.3229, allocations: 305.7 kB / 375.6 MB, free: 18.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.3242, allocations: 0.7369 MB / 376.3 MB, free: 18.04 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.3245, allocations: 0.8097 MB / 377.2 MB, free: 17.33 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001027/0.3246, allocations: 38.64 kB / 377.2 MB, free: 17.33 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.423e-05/0.3246, allocations: 31.75 kB / 377.2 MB, free: 17.32 MB / 302.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3246, allocations: 0 / 377.2 MB, free: 17.32 MB / 302.1 MB Notification: Performance of Templates: time 0.009428/0.3341, allocations: 4.596 MB / 381.8 MB, free: 17.03 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.sim & ./Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/SimpleControlledDrive/ClockedWith_AD_DA_Effects/ClockedWith_AD_DA_Effects.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches