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.001451/0.001451, allocations: 173.9 kB / 16.8 MB, free: 5.012 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.406/1.406, allocations: 205.4 MB / 223 MB, free: 9.023 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.0007477/0.0007477, allocations: 79.77 kB / 271.3 MB, free: 8.254 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.06798/0.06798, allocations: 12.6 MB / 332.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.00036, allocations: 12 kB / 393.3 MB, free: 65.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08319/0.08357, allocations: 50.38 MB / 443.7 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.002323/0.08594, allocations: 2.334 MB / 446 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.08735, allocations: 0.9203 MB / 446.9 MB, free: 12.17 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001663/0.08754, allocations: 7.938 kB / 446.9 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000161/0.08771, allocations: 43.58 kB / 447 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002014/0.08792, allocations: 59.62 kB / 447 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005291/0.08845, allocations: 207.7 kB / 447.2 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002747/0.08874, allocations: 350.9 kB / 447.6 MB, free: 11.51 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002593/0.089, allocations: 184.6 kB / 447.8 MB, free: 11.33 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.08912, allocations: 99.44 kB / 447.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.08927, allocations: 119.2 kB / 448 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.536e-05/0.08931, allocations: 8 kB / 448 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.784e-05/0.08942, allocations: 47.95 kB / 448 MB, free: 11.06 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.978e-05/0.0895, allocations: 47.77 kB / 448.1 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.08961, allocations: 164.7 kB / 448.2 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.08984, allocations: 275.6 kB / 448.5 MB, free: 10.58 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.08985, allocations: 0 / 448.5 MB, free: 10.58 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.08986, allocations: 0 / 448.5 MB, free: 10.58 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.08987, allocations: 0 / 448.5 MB, free: 10.58 MB / 298.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.0008396/0.09072, allocations: 0.5885 MB / 449.1 MB, free: 9.941 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.09076, allocations: 12.03 kB / 449.1 MB, free: 9.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.795e-05/0.09084, allocations: 48.45 kB / 449.2 MB, free: 9.883 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.09115, allocations: 316 kB / 449.5 MB, free: 9.531 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.09119, allocations: 20.94 kB / 449.5 MB, free: 9.512 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.205e-05/0.09123, allocations: 24.38 kB / 449.5 MB, free: 9.488 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.09237, allocations: 0.783 MB / 450.3 MB, free: 8.664 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.0924, allocations: 7.906 kB / 450.3 MB, free: 8.656 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/0.09244, allocations: 8 kB / 450.3 MB, free: 8.648 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.09245, allocations: 8 kB / 450.3 MB, free: 8.641 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004971/0.09295, allocations: 251.8 kB / 450.6 MB, free: 8.395 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006386/0.0936, allocations: 0.7721 MB / 451.3 MB, free: 7.547 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008767/0.09449, allocations: 0.6459 MB / 452 MB, free: 6.828 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003944/0.0949, allocations: 279.2 kB / 452.3 MB, free: 6.543 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005609/0.09547, allocations: 0.5895 MB / 452.8 MB, free: 5.824 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.0955, allocations: 46.55 kB / 452.9 MB, free: 5.77 MB / 298.7 MB Notification: Performance of pre-optimization done (n=52): time 2.194e-06/0.09551, allocations: 0 / 452.9 MB, free: 5.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=52): time 0.001069/0.09659, allocations: 0.5642 MB / 453.5 MB, free: 5.199 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.752e-05/0.09668, allocations: 211.9 kB / 453.7 MB, free: 4.949 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.09689, allocations: 250.6 kB / 453.9 MB, free: 4.699 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.09692, allocations: 33.7 kB / 453.9 MB, free: 4.66 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.169e-05/0.097, allocations: 152.8 kB / 454.1 MB, free: 4.508 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/0.09704, allocations: 59.56 kB / 454.2 MB, free: 4.449 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.191e-05/0.09706, allocations: 15.97 kB / 454.2 MB, free: 4.434 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.852e-05/0.09713, allocations: 338.8 kB / 454.5 MB, free: 4.094 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.0973, allocations: 93.06 kB / 454.6 MB, free: 4 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002682/0.09757, allocations: 442.9 kB / 455 MB, free: 3.398 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004368/0.09802, allocations: 0.5359 MB / 455.6 MB, free: 2.699 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.09803, allocations: 4 kB / 455.6 MB, free: 2.695 MB / 298.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0006165/0.09865, allocations: 0.5051 MB / 456.1 MB, free: 2.184 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.09869, allocations: 9.875 kB / 456.1 MB, free: 2.176 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.0987, allocations: 12 kB / 456.1 MB, free: 2.164 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.59e-05/0.09873, allocations: 16.42 kB / 456.1 MB, free: 2.148 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000286/0.09903, allocations: 127.8 kB / 456.2 MB, free: 2.023 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/0.09905, allocations: 23.92 kB / 456.3 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/0.0993, allocations: 55.91 kB / 456.3 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.661e-05/0.09934, allocations: 27.98 kB / 456.3 MB, free: 1.918 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001621/0.09951, allocations: 190.5 kB / 456.5 MB, free: 1.723 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005406/0.1001, allocations: 365.8 kB / 456.9 MB, free: 1.359 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000602/0.1007, allocations: 376.7 kB / 457.2 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.1007, allocations: 4 kB / 457.2 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1007, allocations: 0 / 457.2 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.1007, allocations: 4 kB / 457.3 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000297/0.101, allocations: 341.1 kB / 457.6 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.101, allocations: 0 / 457.6 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003694/0.1014, allocations: 115.8 kB / 457.7 MB, free: 492 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.1014, allocations: 4 kB / 457.7 MB, free: 488 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.558e-05/0.1014, allocations: 12 kB / 457.7 MB, free: 476 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.1015, allocations: 3.938 kB / 457.7 MB, free: 472 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1015, allocations: 7.984 kB / 457.7 MB, free: 464 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.1027, allocations: 0.8175 MB / 458.5 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.8e-05/0.1028, allocations: 120.6 kB / 458.7 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.947e-05/0.1028, allocations: 12 kB / 458.7 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002516/0.1031, allocations: 35.97 kB / 458.7 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.1031, allocations: 4 kB / 458.7 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/0.1032, allocations: 19.98 kB / 458.7 MB, free: 15.4 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001861/0.1034, allocations: 182 kB / 458.9 MB, free: 15.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1034, allocations: 0 / 458.9 MB, free: 15.23 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004789/0.1038, allocations: 79.84 kB / 459 MB, free: 15.15 MB / 314.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 (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.0001811/0.104, allocations: 119.2 kB / 459.1 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007291/0.1048, allocations: 373.2 kB / 459.5 MB, free: 14.66 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1048, allocations: 0 / 459.5 MB, free: 14.66 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.1049, allocations: 35.92 kB / 459.5 MB, free: 14.63 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.106, allocations: 330.5 kB / 459.8 MB, free: 14.3 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.1076, allocations: 0.9514 MB / 460.8 MB, free: 13.3 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004042/0.108, allocations: 0.8122 MB / 461.6 MB, free: 12.47 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.861e-05/0.1081, allocations: 31.42 kB / 461.6 MB, free: 12.44 MB / 314.7 MB Notification: Performance of SimCode: time 3.81e-07/0.1081, allocations: 3.938 kB / 461.6 MB, free: 12.43 MB / 314.7 MB Notification: Performance of Templates: time 0.007053/0.1152, allocations: 4.418 MB / 466 MB, free: 8.012 MB / 314.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