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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 102.6 kB / 16.45 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 192.1 kB / 17.39 MB, free: 5.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.508/1.508, allocations: 205.1 MB / 223.3 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07527/0.07527, allocations: 12.58 MB / 283.2 MB, free: 15.4 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 82.8 kB / 394.1 MB, free: 45.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1174, allocations: 49.4 MB / 443.5 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004685/0.1222, allocations: 2.67 MB / 446.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001853/0.1241, allocations: 0.9592 MB / 447.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000257/0.1244, allocations: 7.938 kB / 447.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002593/0.1247, allocations: 63.33 kB / 447.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002758/0.125, allocations: 63.44 kB / 447.3 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007163/0.1257, allocations: 239.5 kB / 447.5 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004131/0.1261, allocations: 378.9 kB / 447.9 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003438/0.1265, allocations: 192.8 kB / 448.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.1266, allocations: 135.4 kB / 448.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001844/0.1268, allocations: 151.2 kB / 448.4 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.447e-05/0.1269, allocations: 36 kB / 448.4 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.127, allocations: 63.97 kB / 448.5 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001324/0.1271, allocations: 83.69 kB / 448.6 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.1273, allocations: 159.1 kB / 448.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004839/0.1278, allocations: 402.5 kB / 449.1 MB, free: 11.01 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1278, allocations: 0 / 449.1 MB, free: 11.01 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1278, allocations: 0 / 449.1 MB, free: 11.01 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.1278, allocations: 0 / 449.1 MB, free: 11.01 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.001136/0.129, allocations: 0.643 MB / 449.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.129, allocations: 8.031 kB / 449.8 MB, free: 10.31 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.933e-05/0.1291, allocations: 44.47 kB / 449.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000542/0.1297, allocations: 335.9 kB / 450.1 MB, free: 9.902 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.356e-05/0.1297, allocations: 24.94 kB / 450.2 MB, free: 9.879 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.623e-05/0.1298, allocations: 32.31 kB / 450.2 MB, free: 9.848 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/0.1312, allocations: 0.748 MB / 450.9 MB, free: 9.066 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.1313, allocations: 0 / 450.9 MB, free: 9.066 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.413e-05/0.1313, allocations: 12 kB / 450.9 MB, free: 9.055 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.1313, allocations: 8 kB / 451 MB, free: 9.047 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005951/0.1319, allocations: 219.7 kB / 451.2 MB, free: 8.832 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.133, allocations: 0.7682 MB / 451.9 MB, free: 7.984 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/0.1341, allocations: 0.6183 MB / 452.6 MB, free: 7.293 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004716/0.1346, allocations: 271.3 kB / 452.8 MB, free: 7.016 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006853/0.1353, allocations: 0.6011 MB / 453.4 MB, free: 6.285 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.1354, allocations: 38.56 kB / 453.5 MB, free: 6.238 MB / 334.1 MB Notification: Performance of pre-optimization done (n=52): time 2.224e-06/0.1354, allocations: 0 / 453.5 MB, free: 6.238 MB / 334.1 MB Notification: Performance of matching and sorting (n=52): time 0.00131/0.1367, allocations: 0.5177 MB / 454 MB, free: 5.715 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001852/0.1369, allocations: 219.6 kB / 454.2 MB, free: 5.457 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003021/0.1372, allocations: 254.8 kB / 454.4 MB, free: 5.195 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.088e-05/0.1372, allocations: 33.81 kB / 454.5 MB, free: 5.156 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.1374, allocations: 152.7 kB / 454.6 MB, free: 5.004 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.909e-05/0.1375, allocations: 47.62 kB / 454.7 MB, free: 4.957 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.1376, allocations: 86.16 kB / 454.8 MB, free: 4.867 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.1378, allocations: 346.8 kB / 455.1 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.1379, allocations: 85.06 kB / 455.2 MB, free: 4.438 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004899/0.1385, allocations: 438.9 kB / 455.6 MB, free: 3.844 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000669/0.1392, allocations: 0.5282 MB / 456.1 MB, free: 3.152 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/0.1392, allocations: 4 kB / 456.1 MB, free: 3.148 MB / 334.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008278/0.14, allocations: 497.4 kB / 456.6 MB, free: 2.656 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.14, allocations: 12 kB / 456.6 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.1401, allocations: 16.16 kB / 456.6 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.83e-05/0.1401, allocations: 16 kB / 456.7 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003241/0.1404, allocations: 115.8 kB / 456.8 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.411e-05/0.1405, allocations: 23.92 kB / 456.8 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002744/0.1408, allocations: 55.58 kB / 456.9 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.474e-05/0.1408, allocations: 28 kB / 456.9 MB, free: 2.395 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.0002493/0.1411, allocations: 191.6 kB / 457.1 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006577/0.1417, allocations: 342.1 kB / 457.4 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007658/0.1425, allocations: 364.4 kB / 457.8 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.1425, allocations: 4 kB / 457.8 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.1425, allocations: 4 kB / 457.8 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/0.1426, allocations: 7.984 kB / 457.8 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000448/0.143, allocations: 341 kB / 458.1 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.143, allocations: 4 kB / 458.1 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000402/0.1434, allocations: 99.88 kB / 458.2 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.1434, allocations: 4 kB / 458.2 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/0.1435, allocations: 7.984 kB / 458.2 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.426e-06/0.1435, allocations: 11.94 kB / 458.2 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1435, allocations: 0 / 458.2 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.1448, allocations: 0.7786 MB / 459 MB, free: 172 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.999e-05/0.1449, allocations: 112.7 kB / 459.1 MB, free: 40 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.273e-05/0.1449, allocations: 15.98 kB / 459.1 MB, free: 24 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002505/0.1452, allocations: 23.98 kB / 459.2 MB, free: 0 / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.908e-05/0.1453, allocations: 7.984 kB / 459.2 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.564e-05/0.1453, allocations: 16 kB / 459.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001901/0.1455, allocations: 181.9 kB / 459.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1455, allocations: 0 / 459.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000577/0.1461, allocations: 79.84 kB / 459.4 MB, free: 15.72 MB / 350.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.0002191/0.1463, allocations: 131.3 kB / 459.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007554/0.1471, allocations: 352 kB / 459.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.1471, allocations: 1.688 kB / 459.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.1472, allocations: 31.91 kB / 459.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.1482, allocations: 311 kB / 460.2 MB, free: 14.9 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.1499, allocations: 0.7353 MB / 461 MB, free: 14.13 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000429/0.1503, allocations: 0.812 MB / 461.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001124/0.1504, allocations: 39.27 kB / 461.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.84e-05/0.1505, allocations: 39.42 kB / 461.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1505, allocations: 0 / 461.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of Templates: time 0.009537/0.1601, allocations: 4.663 MB / 466.5 MB, free: 8.543 MB / 350.1 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches