Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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_cpp_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_cpp_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.001118/0.001118, allocations: 181.7 kB / 16.45 MB, free: 5.652 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.52/1.52, allocations: 205.4 MB / 222.6 MB, free: 9.094 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.0007864/0.0007864, allocations: 90.3 kB / 270.9 MB, free: 8.344 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.07666/0.07666, allocations: 12.59 MB / 331.8 MB, free: 11.36 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004188/0.0004189, allocations: 24 kB / 392 MB, free: 66.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08106/0.08149, allocations: 50.37 MB / 442.4 MB, free: 16.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.002231/0.08377, allocations: 2.241 MB / 444.6 MB, free: 14.19 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.08493, allocations: 0.9012 MB / 445.5 MB, free: 13.28 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001564/0.0851, allocations: 11.94 kB / 445.5 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001589/0.08527, allocations: 39.64 kB / 445.6 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001851/0.08546, allocations: 47.62 kB / 445.6 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000477/0.08595, allocations: 187.7 kB / 445.8 MB, free: 13 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000249/0.0862, allocations: 339 kB / 446.1 MB, free: 12.67 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002004/0.08641, allocations: 127.4 kB / 446.2 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.424e-05/0.08651, allocations: 99.39 kB / 446.3 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.08663, allocations: 107.3 kB / 446.4 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.983e-05/0.08666, allocations: 8 kB / 446.5 MB, free: 12.33 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.12e-05/0.08676, allocations: 43.97 kB / 446.5 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.443e-05/0.08683, allocations: 55.75 kB / 446.6 MB, free: 12.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.206e-05/0.08689, allocations: 73.52 kB / 446.6 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002096/0.08711, allocations: 271.6 kB / 446.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.08712, allocations: 0 / 446.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.08713, allocations: 0 / 446.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.08714, allocations: 4 kB / 446.9 MB, free: 11.89 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.0008199/0.08797, allocations: 0.5922 MB / 447.5 MB, free: 11.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.08801, allocations: 12.03 kB / 447.5 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.536e-05/0.08808, allocations: 39.48 kB / 447.5 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.0884, allocations: 318.8 kB / 447.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.08843, allocations: 20.56 kB / 447.9 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.937e-05/0.08847, allocations: 28 kB / 447.9 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.08962, allocations: 0.7714 MB / 448.7 MB, free: 9.988 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.08965, allocations: 0 / 448.7 MB, free: 9.988 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.753e-05/0.08968, allocations: 12 kB / 448.7 MB, free: 9.977 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.08969, allocations: 8 kB / 448.7 MB, free: 9.969 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005033/0.0902, allocations: 255.6 kB / 448.9 MB, free: 9.719 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006098/0.09082, allocations: 0.7721 MB / 449.7 MB, free: 8.871 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009106/0.09175, allocations: 0.6535 MB / 450.4 MB, free: 8.145 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004001/0.09216, allocations: 275.2 kB / 450.6 MB, free: 7.863 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004894/0.09266, allocations: 0.5895 MB / 451.2 MB, free: 7.145 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.09269, allocations: 42.5 kB / 451.3 MB, free: 7.094 MB / 298.7 MB Notification: Performance of pre-optimization done (n=52): time 1.843e-06/0.0927, allocations: 0 / 451.3 MB, free: 7.094 MB / 298.7 MB Notification: Performance of matching and sorting (n=52): time 0.001059/0.09376, allocations: 0.5565 MB / 451.8 MB, free: 6.531 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.659e-05/0.09386, allocations: 219.9 kB / 452 MB, free: 6.273 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.09407, allocations: 246.6 kB / 452.3 MB, free: 6.023 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.0941, allocations: 33.7 kB / 452.3 MB, free: 5.984 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.051e-05/0.09419, allocations: 160.7 kB / 452.5 MB, free: 5.824 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.624e-05/0.09423, allocations: 39.69 kB / 452.5 MB, free: 5.785 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.275e-05/0.09425, allocations: 12 kB / 452.5 MB, free: 5.773 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.557e-05/0.09432, allocations: 350.8 kB / 452.9 MB, free: 5.422 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.0945, allocations: 89.06 kB / 452.9 MB, free: 5.336 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002764/0.09478, allocations: 435 kB / 453.4 MB, free: 4.742 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002232/0.09501, allocations: 163.9 kB / 453.5 MB, free: 4.582 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.09502, allocations: 7.938 kB / 453.5 MB, free: 4.574 MB / 298.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0006329/0.09566, allocations: 0.4974 MB / 454 MB, free: 4.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.09569, allocations: 8.188 kB / 454 MB, free: 4.062 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.09571, allocations: 16 kB / 454.1 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.09573, allocations: 16 kB / 454.1 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003131/0.09605, allocations: 127.8 kB / 454.2 MB, free: 3.906 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/0.09608, allocations: 15.94 kB / 454.2 MB, free: 3.891 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002476/0.09633, allocations: 55.67 kB / 454.3 MB, free: 3.836 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.398e-05/0.09636, allocations: 28 kB / 454.3 MB, free: 3.809 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.000147/0.09651, allocations: 198.8 kB / 454.5 MB, free: 3.605 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005393/0.09706, allocations: 365.9 kB / 454.8 MB, free: 3.242 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005815/0.09765, allocations: 364.7 kB / 455.2 MB, free: 2.879 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.09767, allocations: 8 kB / 455.2 MB, free: 2.871 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.09768, allocations: 0 / 455.2 MB, free: 2.871 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.09769, allocations: 3.984 kB / 455.2 MB, free: 2.867 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002761/0.09797, allocations: 345 kB / 455.6 MB, free: 2.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.09798, allocations: 0 / 455.6 MB, free: 2.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003574/0.09835, allocations: 107.9 kB / 455.7 MB, free: 2.375 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.09836, allocations: 0 / 455.7 MB, free: 2.375 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.09839, allocations: 16 kB / 455.7 MB, free: 2.359 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.0984, allocations: 7.984 kB / 455.7 MB, free: 2.352 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.0984, allocations: 0 / 455.7 MB, free: 2.352 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.09945, allocations: 0.8096 MB / 456.5 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.017e-05/0.09951, allocations: 124.6 kB / 456.6 MB, free: 1.375 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.355e-05/0.09956, allocations: 16 kB / 456.6 MB, free: 1.359 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000247/0.09982, allocations: 32.03 kB / 456.7 MB, free: 1.328 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.09986, allocations: 8 kB / 456.7 MB, free: 1.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.09989, allocations: 12 kB / 456.7 MB, free: 1.309 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001276/0.1, allocations: 182 kB / 456.9 MB, free: 1.129 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1, allocations: 0 / 456.9 MB, free: 1.129 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004267/0.1005, allocations: 79.91 kB / 456.9 MB, free: 1.051 MB / 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.0001299/0.1006, allocations: 119.1 kB / 457 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005957/0.1012, allocations: 373.5 kB / 457.4 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1012, allocations: 4.062 kB / 457.4 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.312e-05/0.1013, allocations: 31.97 kB / 457.4 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009205/0.1022, allocations: 326.7 kB / 457.8 MB, free: 212 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.1036, allocations: 0.913 MB / 458.7 MB, free: 15.25 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.1039, allocations: 0.8123 MB / 459.5 MB, free: 14.41 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.919e-05/0.104, allocations: 31.44 kB / 459.5 MB, free: 14.38 MB / 314.7 MB Notification: Performance of SimCode: time 3.31e-07/0.104, allocations: 0 / 459.5 MB, free: 14.38 MB / 314.7 MB Notification: Performance of Templates: time 0.006045/0.1101, allocations: 4.385 MB / 463.9 MB, free: 9.992 MB / 314.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches