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.0009526/0.0009524, allocations: 184.8 kB / 16.45 MB, free: 5.656 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.371/1.371, allocations: 205.4 MB / 222.6 MB, free: 9.105 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.0007085/0.0007085, allocations: 97.09 kB / 270.9 MB, free: 8.352 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.06927/0.06927, allocations: 12.59 MB / 331.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003986/0.0003987, allocations: 16 kB / 392.7 MB, free: 66.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07781/0.07822, allocations: 50.37 MB / 443 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.002182/0.08045, allocations: 2.245 MB / 445.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.08158, allocations: 0.9012 MB / 446.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001428/0.08174, allocations: 11.94 kB / 446.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.08189, allocations: 43.58 kB / 446.2 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001659/0.08207, allocations: 47.69 kB / 446.3 MB, free: 12.53 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004453/0.08252, allocations: 195.6 kB / 446.5 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002322/0.08276, allocations: 331 kB / 446.8 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.08295, allocations: 123.4 kB / 446.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.08307, allocations: 99.44 kB / 447 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.08318, allocations: 103.3 kB / 447.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.863e-05/0.08322, allocations: 8 kB / 447.1 MB, free: 11.69 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.708e-05/0.08331, allocations: 55.95 kB / 447.2 MB, free: 11.63 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.705e-05/0.08337, allocations: 47.72 kB / 447.2 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.819e-05/0.08343, allocations: 73.52 kB / 447.3 MB, free: 11.51 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.08363, allocations: 271.6 kB / 447.6 MB, free: 11.24 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.08364, allocations: 4 kB / 447.6 MB, free: 11.24 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.08365, allocations: 0 / 447.6 MB, free: 11.24 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.08366, allocations: 3.938 kB / 447.6 MB, free: 11.23 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.0007604/0.08442, allocations: 0.5884 MB / 448.1 MB, free: 10.6 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.08446, allocations: 12.03 kB / 448.2 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.16e-05/0.08453, allocations: 43.48 kB / 448.2 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003121/0.08485, allocations: 318.8 kB / 448.5 MB, free: 10.19 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.08488, allocations: 20.56 kB / 448.5 MB, free: 10.17 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.028e-05/0.08492, allocations: 28 kB / 448.6 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.08606, allocations: 0.7675 MB / 449.3 MB, free: 9.34 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.08609, allocations: 7.984 kB / 449.3 MB, free: 9.332 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.542e-05/0.08612, allocations: 8 kB / 449.3 MB, free: 9.324 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.08613, allocations: 11.94 kB / 449.4 MB, free: 9.312 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004988/0.08664, allocations: 255.6 kB / 449.6 MB, free: 9.062 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006384/0.08728, allocations: 0.7683 MB / 450.4 MB, free: 8.219 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00088/0.08818, allocations: 0.6457 MB / 451 MB, free: 7.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003818/0.08857, allocations: 279.2 kB / 451.3 MB, free: 7.215 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005018/0.08908, allocations: 0.5856 MB / 451.9 MB, free: 6.5 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.08912, allocations: 50.48 kB / 451.9 MB, free: 6.441 MB / 298.7 MB Notification: Performance of pre-optimization done (n=52): time 2.295e-06/0.08912, allocations: 4 kB / 451.9 MB, free: 6.438 MB / 298.7 MB Notification: Performance of matching and sorting (n=52): time 0.001058/0.09019, allocations: 0.5569 MB / 452.5 MB, free: 5.875 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.47e-05/0.09028, allocations: 207.8 kB / 452.7 MB, free: 5.629 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.09048, allocations: 250.6 kB / 452.9 MB, free: 5.375 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.09051, allocations: 37.7 kB / 453 MB, free: 5.332 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.535e-05/0.0906, allocations: 152.7 kB / 453.1 MB, free: 5.18 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.09064, allocations: 43.67 kB / 453.2 MB, free: 5.137 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.175e-05/0.09065, allocations: 12 kB / 453.2 MB, free: 5.125 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.578e-05/0.09073, allocations: 350.8 kB / 453.5 MB, free: 4.773 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.0909, allocations: 85.06 kB / 453.6 MB, free: 4.691 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003036/0.09121, allocations: 451 kB / 454 MB, free: 4.082 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/0.09144, allocations: 159.8 kB / 454.2 MB, free: 3.926 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.09145, allocations: 4 kB / 454.2 MB, free: 3.922 MB / 298.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0006073/0.09206, allocations: 0.5015 MB / 454.7 MB, free: 3.414 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.09209, allocations: 8 kB / 454.7 MB, free: 3.406 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.0921, allocations: 12 kB / 454.7 MB, free: 3.395 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.09213, allocations: 16 kB / 454.7 MB, free: 3.379 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002808/0.09242, allocations: 123.8 kB / 454.9 MB, free: 3.258 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/0.09244, allocations: 23.92 kB / 454.9 MB, free: 3.234 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/0.09268, allocations: 55.67 kB / 454.9 MB, free: 3.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.09271, allocations: 32.03 kB / 455 MB, free: 3.148 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001476/0.09287, allocations: 189.5 kB / 455.2 MB, free: 2.953 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000565/0.09344, allocations: 357.9 kB / 455.5 MB, free: 2.598 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005856/0.09403, allocations: 372.7 kB / 455.9 MB, free: 2.227 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.09405, allocations: 8 kB / 455.9 MB, free: 2.219 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.09406, allocations: 0 / 455.9 MB, free: 2.219 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.09407, allocations: 4 kB / 455.9 MB, free: 2.215 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002989/0.09438, allocations: 333.1 kB / 456.2 MB, free: 1.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.09439, allocations: 3.984 kB / 456.2 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003595/0.09476, allocations: 111.9 kB / 456.3 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.09477, allocations: 4 kB / 456.3 MB, free: 1.723 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.0948, allocations: 8 kB / 456.3 MB, free: 1.715 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.09481, allocations: 7.938 kB / 456.3 MB, free: 1.707 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.09481, allocations: 0 / 456.3 MB, free: 1.707 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.09585, allocations: 0.8174 MB / 457.2 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.018e-05/0.09592, allocations: 112.6 kB / 457.3 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.419e-05/0.09597, allocations: 24.05 kB / 457.3 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.09621, allocations: 31.98 kB / 457.3 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.09625, allocations: 3.984 kB / 457.3 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.09628, allocations: 16 kB / 457.3 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001207/0.0964, allocations: 185.9 kB / 457.5 MB, free: 488 kB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09641, allocations: 0 / 457.5 MB, free: 488 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004317/0.09685, allocations: 79.91 kB / 457.6 MB, free: 408 kB / 298.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.0001445/0.097, allocations: 119.2 kB / 457.7 MB, free: 280 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006359/0.09764, allocations: 377.5 kB / 458.1 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.09766, allocations: 0 / 458.1 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.09777, allocations: 39.91 kB / 458.1 MB, free: 15.87 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009484/0.09872, allocations: 318.9 kB / 458.4 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.1001, allocations: 0.9049 MB / 459.3 MB, free: 14.61 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/0.1005, allocations: 0.8123 MB / 460.1 MB, free: 13.77 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.902e-05/0.1006, allocations: 31.44 kB / 460.2 MB, free: 13.74 MB / 314.7 MB Notification: Performance of SimCode: time 3e-07/0.1006, allocations: 0 / 460.2 MB, free: 13.74 MB / 314.7 MB Notification: Performance of Templates: time 0.006618/0.1072, allocations: 4.391 MB / 464.6 MB, free: 9.348 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