Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 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.ClockedWith_AD_DA_Effects,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.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_4.1.0-beta.om_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.001267/0.001267, allocations: 119.6 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001282/0.001282, allocations: 206.7 kB / 19.41 MB, free: 3.664 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.417/1.417, allocations: 227.7 MB / 247.9 MB, free: 10.24 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.001894/0.001894, allocations: 59.91 kB / 359.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2271, allocations: 50.54 MB / 410.2 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004038/0.2312, allocations: 2.696 MB / 412.9 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.2328, allocations: 0.9388 MB / 413.8 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001543/0.233, allocations: 11.94 kB / 413.8 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001968/0.2332, allocations: 59.33 kB / 413.9 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002194/0.2334, allocations: 75.38 kB / 414 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006308/0.234, allocations: 239.5 kB / 414.2 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004356/0.2345, allocations: 382.9 kB / 414.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000259/0.2347, allocations: 140.8 kB / 414.7 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.2349, allocations: 135.4 kB / 414.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000192/0.2351, allocations: 151.2 kB / 415 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.335e-05/0.2351, allocations: 32 kB / 415 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.2352, allocations: 67.95 kB / 415.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.2354, allocations: 79.64 kB / 415.2 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001565/0.2355, allocations: 167 kB / 415.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000486/0.236, allocations: 410.1 kB / 415.7 MB, free: 11.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.236, allocations: 3.938 kB / 415.7 MB, free: 11.9 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.236, allocations: 0 / 415.7 MB, free: 11.9 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.236, allocations: 4 kB / 415.7 MB, free: 11.9 MB / 334.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.001071/0.2371, allocations: 0.6505 MB / 416.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.2371, allocations: 12.03 kB / 416.4 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.271e-05/0.2372, allocations: 40.64 kB / 416.4 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004934/0.2377, allocations: 340.1 kB / 416.8 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/0.2377, allocations: 24.94 kB / 416.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.881e-05/0.2378, allocations: 24.38 kB / 416.8 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/0.2392, allocations: 0.7404 MB / 417.6 MB, free: 9.957 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.2392, allocations: 0 / 417.6 MB, free: 9.957 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.083e-05/0.2392, allocations: 12 kB / 417.6 MB, free: 9.945 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.2392, allocations: 4 kB / 417.6 MB, free: 9.941 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005871/0.2398, allocations: 223.7 kB / 417.8 MB, free: 9.723 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008924/0.2407, allocations: 0.7762 MB / 418.6 MB, free: 8.871 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.2418, allocations: 0.5958 MB / 419.2 MB, free: 8.199 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004629/0.2423, allocations: 235.4 kB / 419.4 MB, free: 7.957 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006735/0.2429, allocations: 0.5971 MB / 420 MB, free: 7.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.243, allocations: 46.5 kB / 420 MB, free: 7.176 MB / 334.1 MB Notification: Performance of pre-optimization done (n=52): time 1.933e-06/0.243, allocations: 0 / 420 MB, free: 7.176 MB / 334.1 MB Notification: Performance of matching and sorting (n=52): time 0.001265/0.2442, allocations: 0.5283 MB / 420.6 MB, free: 6.641 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001615/0.2444, allocations: 208 kB / 420.8 MB, free: 6.395 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002597/0.2447, allocations: 254.6 kB / 421 MB, free: 6.141 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.2447, allocations: 33.7 kB / 421.1 MB, free: 6.102 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.2448, allocations: 156.8 kB / 421.2 MB, free: 5.941 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.119e-05/0.2449, allocations: 47.72 kB / 421.3 MB, free: 5.895 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.245, allocations: 82.25 kB / 421.3 MB, free: 5.809 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.2451, allocations: 346.8 kB / 421.7 MB, free: 5.461 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.2453, allocations: 85.06 kB / 421.8 MB, free: 5.375 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004518/0.2458, allocations: 434.9 kB / 422.2 MB, free: 4.781 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006577/0.2464, allocations: 0.5242 MB / 422.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.2464, allocations: 4 kB / 422.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.000808/0.2472, allocations: 0.4975 MB / 423.2 MB, free: 3.586 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.2473, allocations: 8.219 kB / 423.2 MB, free: 3.578 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.2473, allocations: 16 kB / 423.2 MB, free: 3.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.59e-05/0.2473, allocations: 16 kB / 423.2 MB, free: 3.547 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003156/0.2476, allocations: 123.8 kB / 423.4 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.506e-05/0.2476, allocations: 19.94 kB / 423.4 MB, free: 3.406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/0.2479, allocations: 59.77 kB / 423.4 MB, free: 3.348 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.11e-05/0.2479, allocations: 28 kB / 423.5 MB, free: 3.32 MB / 334.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.0002128/0.2482, allocations: 193.9 kB / 423.7 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006669/0.2488, allocations: 350.1 kB / 424 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000711/0.2495, allocations: 356.7 kB / 424.3 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.2495, allocations: 8 kB / 424.4 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2496, allocations: 0 / 424.4 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.2496, allocations: 7.984 kB / 424.4 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004116/0.25, allocations: 345.1 kB / 424.7 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.25, allocations: 0 / 424.7 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003962/0.2504, allocations: 99.86 kB / 424.8 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.2504, allocations: 4 kB / 424.8 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/0.2504, allocations: 12 kB / 424.8 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.2504, allocations: 0 / 424.8 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.2504, allocations: 4 kB / 424.8 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001335/0.2517, allocations: 0.7825 MB / 425.6 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.261e-05/0.2518, allocations: 120.8 kB / 425.7 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.441e-05/0.2519, allocations: 15.98 kB / 425.7 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/0.2521, allocations: 23.98 kB / 425.8 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.2522, allocations: 7.984 kB / 425.8 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.013e-05/0.2522, allocations: 12 kB / 425.8 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001837/0.2524, allocations: 186 kB / 426 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2524, allocations: 3.938 kB / 426 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005158/0.2529, allocations: 79.95 kB / 426 MB, free: 0.6328 MB / 334.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.0001934/0.2531, allocations: 130.5 kB / 426.2 MB, free: 0.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007158/0.2538, allocations: 343.8 kB / 426.5 MB, free: 172 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2538, allocations: 5.875 kB / 426.5 MB, free: 168 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.2539, allocations: 27.97 kB / 426.5 MB, free: 140 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.255, allocations: 308.3 kB / 426.8 MB, free: 15.83 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.2564, allocations: 0.7614 MB / 427.6 MB, free: 15.03 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/0.2568, allocations: 0.8042 MB / 428.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001123/0.257, allocations: 47.25 kB / 428.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.952e-05/0.257, allocations: 27.44 kB / 428.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.257, allocations: 0 / 428.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of Templates: time 0.009856/0.2669, allocations: 4.667 MB / 433.1 MB, free: 9.512 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/ClockedWith_AD_DA_Effects/ClockedWith_AD_DA_Effects.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches