Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="PI.y|Time|speed.w",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") translateModel(Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="PI.y|Time|speed.w",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009459/0.000946, allocations: 173 kB / 16.8 MB, free: 5.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 205.4 MB / 222.9 MB, free: 8.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007764/0.0007767, allocations: 89.52 kB / 271.3 MB, free: 8.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08064/0.08064, allocations: 12.6 MB / 332.2 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004105/0.0004105, allocations: 12 kB / 393.2 MB, free: 65.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09738/0.09781, allocations: 50.38 MB / 443.6 MB, free: 15.51 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3594/0.4573, allocations: 81.92 MB / 0.5132 GB, free: 12.7 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.4576, allocations: 77.7 kB / 0.5133 GB, free: 12.69 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01748/0.4751, allocations: 7.299 MB / 0.5204 GB, free: 7.781 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4751, allocations: 0 / 0.5204 GB, free: 7.781 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.446e-05/0.4751, allocations: 11.75 kB / 0.5204 GB, free: 7.773 MB / 330.7 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.001011/0.4762, allocations: 0.6016 MB / 0.521 GB, free: 7.148 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.4762, allocations: 8.031 kB / 0.521 GB, free: 7.141 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.4763, allocations: 40.47 kB / 0.5211 GB, free: 7.102 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005774/0.4769, allocations: 366.3 kB / 0.5214 GB, free: 6.746 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.477, allocations: 22.06 kB / 0.5214 GB, free: 6.734 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.907e-05/0.477, allocations: 29.69 kB / 0.5215 GB, free: 6.715 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.4782, allocations: 0.7434 MB / 0.5222 GB, free: 6.09 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.4783, allocations: 7.875 kB / 0.5222 GB, free: 6.082 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.184e-05/0.4783, allocations: 14 kB / 0.5222 GB, free: 6.078 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-06/0.4783, allocations: 11.94 kB / 0.5222 GB, free: 6.066 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004931/0.4788, allocations: 227 kB / 0.5224 GB, free: 5.895 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007341/0.4796, allocations: 0.7554 MB / 0.5232 GB, free: 5.16 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008502/0.4804, allocations: 0.6123 MB / 0.5238 GB, free: 4.578 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003782/0.4808, allocations: 258.4 kB / 0.524 GB, free: 4.383 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004409/0.4813, allocations: 0.5856 MB / 0.5246 GB, free: 3.668 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.4813, allocations: 45.25 kB / 0.5246 GB, free: 3.621 MB / 330.7 MB Notification: Performance of pre-optimization done (n=52): time 2.815e-06/0.4813, allocations: 0 / 0.5246 GB, free: 3.621 MB / 330.7 MB Notification: Performance of matching and sorting (n=52): time 0.001033/0.4823, allocations: 0.5318 MB / 0.5251 GB, free: 3.199 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.034e-05/0.4824, allocations: 180.3 kB / 0.5253 GB, free: 2.996 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.4826, allocations: 247.9 kB / 0.5256 GB, free: 2.785 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.4827, allocations: 36.64 kB / 0.5256 GB, free: 2.75 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.789e-05/0.4828, allocations: 150.5 kB / 0.5257 GB, free: 2.633 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.852e-05/0.4828, allocations: 46.03 kB / 0.5258 GB, free: 2.598 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.191e-05/0.4828, allocations: 18.59 kB / 0.5258 GB, free: 2.59 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.716e-05/0.4829, allocations: 344.6 kB / 0.5261 GB, free: 2.258 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.4831, allocations: 85.86 kB / 0.5262 GB, free: 2.195 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002733/0.4834, allocations: 434.7 kB / 0.5266 GB, free: 1.641 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004739/0.4838, allocations: 0.539 MB / 0.5271 GB, free: 1.004 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.034e-06/0.4839, allocations: 4 kB / 0.5271 GB, free: 1 MB / 330.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0006646/0.4845, allocations: 0.4907 MB / 0.5276 GB, free: 0.5859 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.4846, allocations: 15.94 kB / 0.5276 GB, free: 0.5703 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.4846, allocations: 12 kB / 0.5277 GB, free: 0.5586 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.4846, allocations: 16 kB / 0.5277 GB, free: 0.543 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002803/0.4849, allocations: 125.4 kB / 0.5278 GB, free: 436 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.67e-05/0.4849, allocations: 19.94 kB / 0.5278 GB, free: 416 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/0.4852, allocations: 62.77 kB / 0.5279 GB, free: 360 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.424e-05/0.4852, allocations: 27.69 kB / 0.5279 GB, free: 336 kB / 330.7 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 (sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[1],$CLKPRE.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001657/0.4854, allocations: 192.1 kB / 0.5281 GB, free: 164 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005794/0.486, allocations: 338.8 kB / 0.5284 GB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006613/0.4866, allocations: 354.9 kB / 0.5287 GB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.4867, allocations: 8 kB / 0.5287 GB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4867, allocations: 0 / 0.5287 GB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.4867, allocations: 7.938 kB / 0.5288 GB, free: 15.63 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003837/0.4871, allocations: 336.1 kB / 0.5291 GB, free: 15.31 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.4871, allocations: 0 / 0.5291 GB, free: 15.31 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003813/0.4875, allocations: 103.4 kB / 0.5292 GB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.4875, allocations: 3.938 kB / 0.5292 GB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.49e-05/0.4875, allocations: 11 kB / 0.5292 GB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.852e-06/0.4875, allocations: 7.938 kB / 0.5292 GB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4875, allocations: 0 / 0.5292 GB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.4888, allocations: 0.7803 MB / 0.53 GB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.666e-05/0.4889, allocations: 120.6 kB / 0.5301 GB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.02e-05/0.4889, allocations: 17.23 kB / 0.5301 GB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/0.4892, allocations: 23.48 kB / 0.5301 GB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.862e-05/0.4892, allocations: 11.42 kB / 0.5301 GB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.872e-05/0.4893, allocations: 11.56 kB / 0.5301 GB, free: 14.38 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001702/0.4895, allocations: 176.3 kB / 0.5303 GB, free: 14.23 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4895, allocations: 0 / 0.5303 GB, free: 14.23 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005379/0.49, allocations: 90.33 kB / 0.5304 GB, free: 14.16 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001924/0.4902, allocations: 122.3 kB / 0.5305 GB, free: 14.04 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006832/0.4909, allocations: 362.1 kB / 0.5308 GB, free: 13.75 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4909, allocations: 0 / 0.5308 GB, free: 13.75 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.491, allocations: 35.17 kB / 0.5309 GB, free: 13.71 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.4921, allocations: 301.6 kB / 0.5312 GB, free: 13.48 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/0.4939, allocations: 0.8996 MB / 0.532 GB, free: 12.62 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004261/0.4943, allocations: 0.8156 MB / 0.5328 GB, free: 11.79 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001239/0.4944, allocations: 39.27 kB / 0.5329 GB, free: 11.75 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.515e-05/0.4945, allocations: 27.44 kB / 0.5329 GB, free: 11.73 MB / 346.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4945, allocations: 0 / 0.5329 GB, free: 11.73 MB / 346.7 MB Notification: Performance of Templates: time 0.007895/0.5024, allocations: 3.811 MB / 0.5366 GB, free: 7.93 MB / 346.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches