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.001074/0.001074, allocations: 114.7 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.001083/0.001083, 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.32/1.32, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 65.58 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09406/0.09523, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.003731/0.099, allocations: 2.689 MB / 361.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.1005, allocations: 0.9466 MB / 362.5 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001632/0.1006, allocations: 7.938 kB / 362.5 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001941/0.1008, allocations: 55.39 kB / 362.6 MB, free: 9.625 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000214/0.1011, allocations: 67.44 kB / 362.7 MB, free: 9.559 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005981/0.1017, allocations: 234.9 kB / 362.9 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003596/0.102, allocations: 382.9 kB / 363.3 MB, free: 8.957 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002795/0.1023, allocations: 192.8 kB / 363.4 MB, free: 8.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.1025, allocations: 143.4 kB / 363.6 MB, free: 8.629 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.1027, allocations: 151.2 kB / 363.7 MB, free: 8.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.7e-05/0.1027, allocations: 32 kB / 363.8 MB, free: 8.449 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.1028, allocations: 67.95 kB / 363.8 MB, free: 8.383 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.7e-05/0.1029, allocations: 71.77 kB / 363.9 MB, free: 8.312 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.1031, allocations: 171 kB / 364.1 MB, free: 8.145 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003748/0.1035, allocations: 418.4 kB / 364.5 MB, free: 7.734 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1035, allocations: 0 / 364.5 MB, free: 7.734 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.1035, allocations: 4 kB / 364.5 MB, free: 7.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.1035, allocations: 0 / 364.5 MB, free: 7.73 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.0009341/0.1044, allocations: 0.6313 MB / 365.1 MB, free: 7.051 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.1045, allocations: 12.03 kB / 365.1 MB, free: 7.039 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.354e-05/0.1046, allocations: 40.47 kB / 365.2 MB, free: 7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004467/0.105, allocations: 343.8 kB / 365.5 MB, free: 6.629 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/0.105, allocations: 20.94 kB / 365.5 MB, free: 6.605 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.584e-05/0.1051, allocations: 28.38 kB / 365.5 MB, free: 6.578 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.1063, allocations: 0.7518 MB / 366.3 MB, free: 5.785 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.1063, allocations: 0 / 366.3 MB, free: 5.785 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.945e-05/0.1064, allocations: 12 kB / 366.3 MB, free: 5.773 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.1064, allocations: 4 kB / 366.3 MB, free: 5.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005005/0.1069, allocations: 227.8 kB / 366.5 MB, free: 5.547 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000736/0.1076, allocations: 0.7682 MB / 367.3 MB, free: 4.703 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009549/0.1086, allocations: 0.6191 MB / 367.9 MB, free: 4.008 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000414/0.109, allocations: 267.4 kB / 368.2 MB, free: 3.734 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005626/0.1096, allocations: 0.5893 MB / 368.8 MB, free: 3.016 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.1096, allocations: 46.56 kB / 368.8 MB, free: 2.961 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 1.753e-06/0.1097, allocations: 0 / 368.8 MB, free: 2.961 MB / 302.1 MB Notification: Performance of matching and sorting (n=52): time 0.001092/0.1108, allocations: 0.5243 MB / 369.3 MB, free: 2.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/0.1109, allocations: 212 kB / 369.5 MB, free: 2.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.1111, allocations: 250.6 kB / 369.8 MB, free: 1.93 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.1112, allocations: 33.7 kB / 369.8 MB, free: 1.891 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.254e-05/0.1113, allocations: 156.7 kB / 370 MB, free: 1.734 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.047e-05/0.1113, allocations: 47.64 kB / 370 MB, free: 1.688 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.382e-05/0.1114, allocations: 86.25 kB / 370.1 MB, free: 1.598 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1115, allocations: 346.8 kB / 370.4 MB, free: 1.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.1117, allocations: 85.06 kB / 370.5 MB, free: 1.164 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003577/0.1121, allocations: 431 kB / 371 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1608/0.2728, allocations: 0.524 MB / 371.5 MB, free: 19.92 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.822e-05/0.2729, allocations: 3.844 kB / 371.5 MB, free: 19.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009796/0.2739, allocations: 496 kB / 372 MB, free: 19.83 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.2739, allocations: 10.78 kB / 372 MB, free: 19.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/0.274, allocations: 16.92 kB / 372 MB, free: 19.83 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.206e-05/0.274, allocations: 15.56 kB / 372 MB, free: 19.83 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003192/0.2743, allocations: 121.2 kB / 372.1 MB, free: 19.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-05/0.2743, allocations: 28.83 kB / 372.2 MB, free: 19.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002757/0.2746, allocations: 53.78 kB / 372.2 MB, free: 19.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.943e-05/0.2747, allocations: 31.61 kB / 372.2 MB, free: 19.81 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.0002223/0.2749, allocations: 193.5 kB / 372.4 MB, free: 19.69 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006217/0.2755, allocations: 347 kB / 372.8 MB, free: 19.64 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006564/0.2762, allocations: 361.6 kB / 373.1 MB, free: 19.6 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.934e-06/0.2762, allocations: 5.953 kB / 373.1 MB, free: 19.6 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.2762, allocations: 1.5 kB / 373.1 MB, free: 19.6 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.2762, allocations: 4.734 kB / 373.1 MB, free: 19.6 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000365/0.2766, allocations: 337.9 kB / 373.5 MB, free: 19.4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.2766, allocations: 7.031 kB / 373.5 MB, free: 19.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003896/0.277, allocations: 99.98 kB / 373.6 MB, free: 19.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.277, allocations: 4.266 kB / 373.6 MB, free: 19.39 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.2771, allocations: 12.19 kB / 373.6 MB, free: 19.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.2771, allocations: 5.656 kB / 373.6 MB, free: 19.39 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2771, allocations: 1.375 kB / 373.6 MB, free: 19.39 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/0.2783, allocations: 0.7789 MB / 374.4 MB, free: 19.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.873e-05/0.2784, allocations: 119 kB / 374.5 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.024e-05/0.2784, allocations: 14.39 kB / 374.5 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/0.2787, allocations: 24.97 kB / 374.5 MB, free: 18.94 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.2787, allocations: 9.125 kB / 374.5 MB, free: 18.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.951e-05/0.2788, allocations: 15.55 kB / 374.5 MB, free: 18.93 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001515/0.2789, allocations: 187.4 kB / 374.7 MB, free: 18.83 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2789, allocations: 1.375 kB / 374.7 MB, free: 18.83 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000504/0.2794, allocations: 72.94 kB / 374.8 MB, free: 18.81 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.0001638/0.2796, allocations: 124.9 kB / 374.9 MB, free: 18.71 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006644/0.2803, allocations: 368.5 kB / 375.3 MB, free: 18.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2803, allocations: 1.562 kB / 375.3 MB, free: 18.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.909e-05/0.2804, allocations: 25.48 kB / 375.3 MB, free: 18.61 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009794/0.2814, allocations: 310.6 kB / 375.6 MB, free: 18.49 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.2826, allocations: 0.7381 MB / 376.3 MB, free: 18.06 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.2829, allocations: 0.8089 MB / 377.2 MB, free: 17.35 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001038/0.283, allocations: 40.44 kB / 377.2 MB, free: 17.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.354e-05/0.2831, allocations: 31.25 kB / 377.2 MB, free: 17.34 MB / 302.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2831, allocations: 0 / 377.2 MB, free: 17.34 MB / 302.1 MB Notification: Performance of Templates: time 0.009844/0.2929, allocations: 4.581 MB / 381.8 MB, free: 17.05 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 gbode -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