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.001503/0.001503, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001698/0.001699, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 246.3 MB, free: 10.86 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 59.94 kB / 306.2 MB, free: 1.066 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0954/0.09655, allocations: 50.54 MB / 356.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004128/0.1007, allocations: 2.727 MB / 359.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.1023, allocations: 0.935 MB / 360.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001767/0.1025, allocations: 11.94 kB / 360.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002201/0.1027, allocations: 47.58 kB / 360.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002216/0.103, allocations: 39.7 kB / 360.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006263/0.1036, allocations: 210.9 kB / 360.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004175/0.104, allocations: 362.9 kB / 361.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003448/0.1044, allocations: 188.7 kB / 361.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.1045, allocations: 111.5 kB / 361.4 MB, free: 9.906 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002414/0.1048, allocations: 139.2 kB / 361.5 MB, free: 9.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.917e-05/0.1049, allocations: 16 kB / 361.6 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.105, allocations: 55.91 kB / 361.6 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.1051, allocations: 71.67 kB / 361.7 MB, free: 9.629 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.1052, allocations: 143.1 kB / 361.8 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003501/0.1056, allocations: 386.9 kB / 362.2 MB, free: 9.109 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1056, allocations: 4 kB / 362.2 MB, free: 9.105 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1056, allocations: 0 / 362.2 MB, free: 9.105 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1056, allocations: 3.938 kB / 362.2 MB, free: 9.102 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.001032/0.1067, allocations: 0.6391 MB / 362.8 MB, free: 8.414 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.1067, allocations: 8.031 kB / 362.8 MB, free: 8.406 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.314e-05/0.1068, allocations: 44.47 kB / 362.9 MB, free: 8.363 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003906/0.1072, allocations: 319.9 kB / 363.2 MB, free: 8.016 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.113e-05/0.1072, allocations: 24.94 kB / 363.2 MB, free: 7.988 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.254e-05/0.1073, allocations: 28.38 kB / 363.3 MB, free: 7.961 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.1086, allocations: 0.7442 MB / 364 MB, free: 7.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.1086, allocations: 3.938 kB / 364 MB, free: 7.176 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.073e-05/0.1086, allocations: 15.94 kB / 364 MB, free: 7.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.1087, allocations: 11.94 kB / 364 MB, free: 7.148 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005269/0.1092, allocations: 215.8 kB / 364.2 MB, free: 6.938 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007898/0.11, allocations: 0.7682 MB / 365 MB, free: 6.094 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009981/0.111, allocations: 0.6238 MB / 365.6 MB, free: 5.395 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004387/0.1114, allocations: 267.4 kB / 365.9 MB, free: 5.121 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006933/0.1122, allocations: 0.5934 MB / 366.5 MB, free: 4.398 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.456e-05/0.1122, allocations: 50.28 kB / 366.5 MB, free: 4.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 1.894e-06/0.1122, allocations: 0 / 366.5 MB, free: 4.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=52): time 0.001225/0.1134, allocations: 0.5205 MB / 367.1 MB, free: 3.812 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/0.1136, allocations: 211.9 kB / 367.3 MB, free: 3.562 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000238/0.1138, allocations: 246.6 kB / 367.5 MB, free: 3.312 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.046e-05/0.1139, allocations: 37.7 kB / 367.5 MB, free: 3.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.114, allocations: 152.7 kB / 367.7 MB, free: 3.117 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.217e-05/0.114, allocations: 47.59 kB / 367.7 MB, free: 3.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.384e-05/0.1141, allocations: 82.25 kB / 367.8 MB, free: 2.984 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.1143, allocations: 350.8 kB / 368.2 MB, free: 2.633 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.1144, allocations: 85.06 kB / 368.2 MB, free: 2.547 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003923/0.1148, allocations: 439 kB / 368.7 MB, free: 1.953 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006105/0.1155, allocations: 0.5242 MB / 369.2 MB, free: 1.266 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.1155, allocations: 4 kB / 369.2 MB, free: 1.262 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007665/0.1163, allocations: 0.4933 MB / 369.7 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.1163, allocations: 15.11 kB / 369.7 MB, free: 0.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.1163, allocations: 12 kB / 369.7 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.787e-05/0.1163, allocations: 16 kB / 369.7 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003147/0.1167, allocations: 119.8 kB / 369.9 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.964e-05/0.1167, allocations: 19.92 kB / 369.9 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002551/0.1169, allocations: 52.02 kB / 369.9 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/0.117, allocations: 32 kB / 370 MB, free: 0.5039 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.0001902/0.1172, allocations: 201.1 kB / 370.2 MB, free: 308 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.1609/0.2781, allocations: 340.4 kB / 370.5 MB, free: 20.94 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008527/0.279, allocations: 357 kB / 370.8 MB, free: 20.9 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.279, allocations: 5.438 kB / 370.8 MB, free: 20.9 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.279, allocations: 2.172 kB / 370.8 MB, free: 20.9 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.279, allocations: 3.75 kB / 370.8 MB, free: 20.9 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004497/0.2795, allocations: 337.9 kB / 371.2 MB, free: 20.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/0.2795, allocations: 3.5 kB / 371.2 MB, free: 20.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004124/0.2799, allocations: 102.3 kB / 371.3 MB, free: 20.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.697e-06/0.2799, allocations: 6.906 kB / 371.3 MB, free: 20.7 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/0.28, allocations: 12.83 kB / 371.3 MB, free: 20.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/0.28, allocations: 4.609 kB / 371.3 MB, free: 20.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.28, allocations: 0.9375 kB / 371.3 MB, free: 20.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/0.2812, allocations: 0.7722 MB / 372.1 MB, free: 20.3 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.381e-05/0.2813, allocations: 124.9 kB / 372.2 MB, free: 20.19 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.785e-05/0.2814, allocations: 15.27 kB / 372.2 MB, free: 20.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002615/0.2817, allocations: 29.59 kB / 372.2 MB, free: 20.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.047e-05/0.2817, allocations: 6 kB / 372.2 MB, free: 20.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-05/0.2818, allocations: 14.94 kB / 372.3 MB, free: 20.17 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001921/0.282, allocations: 180.7 kB / 372.4 MB, free: 20.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.282, allocations: 0 / 372.4 MB, free: 20.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005859/0.2826, allocations: 75.52 kB / 372.5 MB, free: 20.05 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.0001732/0.2827, allocations: 128 kB / 372.6 MB, free: 19.96 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007015/0.2834, allocations: 364.8 kB / 373 MB, free: 19.86 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.2835, allocations: 0 / 373 MB, free: 19.86 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.852e-05/0.2836, allocations: 34.55 kB / 373 MB, free: 19.85 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.2846, allocations: 306.2 kB / 373.3 MB, free: 19.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.2861, allocations: 0.8785 MB / 374.2 MB, free: 19.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.2863, allocations: 0.81 MB / 375 MB, free: 18.45 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001226/0.2864, allocations: 36.94 kB / 375 MB, free: 18.45 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.211e-05/0.2865, allocations: 30.42 kB / 375.1 MB, free: 18.44 MB / 302.1 MB Notification: Performance of SimCode: time 1.223e-06/0.2865, allocations: 0 / 375.1 MB, free: 18.44 MB / 302.1 MB Notification: Performance of Templates: time 0.009354/0.2959, allocations: 4.27 MB / 379.3 MB, free: 18.16 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 -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/jenkins/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/jenkins/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