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.001365/0.001365, allocations: 107.1 kB / 16.45 MB, free: 6.504 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.001426/0.001426, allocations: 192.2 kB / 17.39 MB, free: 5.688 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.599/1.599, allocations: 205.1 MB / 223.3 MB, free: 12.21 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.07173/0.07173, allocations: 12.58 MB / 283.2 MB, free: 15.39 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.001838/0.001838, allocations: 87.34 kB / 394.1 MB, free: 45.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1036, allocations: 49.4 MB / 443.6 MB, free: 496 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004629/0.1082, allocations: 2.662 MB / 446.2 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002166/0.1105, allocations: 0.9592 MB / 447.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003024/0.1108, allocations: 7.938 kB / 447.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003016/0.1111, allocations: 67.33 kB / 447.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003008/0.1114, allocations: 67.44 kB / 447.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009068/0.1123, allocations: 243.5 kB / 447.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005219/0.1129, allocations: 378.9 kB / 447.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004077/0.1133, allocations: 192.8 kB / 448.1 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.1135, allocations: 143.4 kB / 448.2 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002173/0.1137, allocations: 147.2 kB / 448.4 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.158e-05/0.1137, allocations: 36 kB / 448.4 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.1139, allocations: 67.97 kB / 448.5 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.114, allocations: 79.69 kB / 448.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.1142, allocations: 163.1 kB / 448.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004502/0.1146, allocations: 398.5 kB / 449.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1146, allocations: 0 / 449.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1147, allocations: 4 kB / 449.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.1147, allocations: 0 / 449.1 MB, free: 10.88 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.001054/0.1157, allocations: 0.6351 MB / 449.8 MB, free: 10.19 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.1158, allocations: 12.03 kB / 449.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.226e-05/0.1159, allocations: 40.47 kB / 449.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005135/0.1164, allocations: 339.9 kB / 450.1 MB, free: 9.773 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.1164, allocations: 20.94 kB / 450.2 MB, free: 9.754 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.315e-05/0.1165, allocations: 28.31 kB / 450.2 MB, free: 9.727 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.1178, allocations: 0.7442 MB / 450.9 MB, free: 8.949 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.1178, allocations: 0 / 450.9 MB, free: 8.949 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.467e-05/0.1179, allocations: 12 kB / 450.9 MB, free: 8.938 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.1179, allocations: 7.938 kB / 451 MB, free: 8.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005404/0.1184, allocations: 223.7 kB / 451.2 MB, free: 8.711 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009529/0.1194, allocations: 0.7721 MB / 451.9 MB, free: 7.859 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.1205, allocations: 0.6223 MB / 452.6 MB, free: 7.164 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000467/0.121, allocations: 259.4 kB / 452.8 MB, free: 6.898 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008333/0.1218, allocations: 0.6051 MB / 453.4 MB, free: 6.164 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001928/0.122, allocations: 42.5 kB / 453.5 MB, free: 6.113 MB / 334.1 MB Notification: Performance of pre-optimization done (n=52): time 2.465e-06/0.122, allocations: 0 / 453.5 MB, free: 6.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=52): time 0.001307/0.1234, allocations: 0.5252 MB / 454 MB, free: 5.582 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002056/0.1236, allocations: 211.6 kB / 454.2 MB, free: 5.332 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/0.1239, allocations: 254.8 kB / 454.4 MB, free: 5.07 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.423e-05/0.1239, allocations: 33.7 kB / 454.5 MB, free: 5.031 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.124, allocations: 152.9 kB / 454.6 MB, free: 4.879 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.663e-05/0.1241, allocations: 47.56 kB / 454.7 MB, free: 4.832 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.1242, allocations: 90.16 kB / 454.8 MB, free: 4.738 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.1244, allocations: 346.8 kB / 455.1 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.1246, allocations: 81.06 kB / 455.2 MB, free: 4.312 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004823/0.1251, allocations: 434.9 kB / 455.6 MB, free: 3.723 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006863/0.1257, allocations: 0.5281 MB / 456.1 MB, free: 3.031 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.1258, allocations: 4 kB / 456.1 MB, free: 3.027 MB / 334.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007869/0.1266, allocations: 0.4897 MB / 456.6 MB, free: 2.531 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.705e-05/0.1266, allocations: 12 kB / 456.6 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.1266, allocations: 12.12 kB / 456.7 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.98e-05/0.1267, allocations: 16 kB / 456.7 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003413/0.127, allocations: 119.8 kB / 456.8 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.838e-05/0.1271, allocations: 23.92 kB / 456.8 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002534/0.1273, allocations: 51.58 kB / 456.9 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.756e-05/0.1274, allocations: 32 kB / 456.9 MB, free: 2.27 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.0002712/0.1277, allocations: 187.5 kB / 457.1 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000677/0.1283, allocations: 342.1 kB / 457.4 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007554/0.1291, allocations: 364.4 kB / 457.8 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.457e-06/0.1291, allocations: 4 kB / 457.8 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.148e-06/0.1291, allocations: 0 / 457.8 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.1292, allocations: 8.453 kB / 457.8 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004776/0.1296, allocations: 345 kB / 458.1 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.1297, allocations: 0 / 458.1 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003846/0.1301, allocations: 103.9 kB / 458.2 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.1301, allocations: 0 / 458.2 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.81e-05/0.1301, allocations: 19.98 kB / 458.2 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.437e-05/0.1302, allocations: 4 kB / 458.2 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.1302, allocations: 0 / 458.2 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/0.1315, allocations: 0.7785 MB / 459 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.465e-05/0.1316, allocations: 116.8 kB / 459.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.198e-05/0.1317, allocations: 19.98 kB / 459.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.1319, allocations: 19.98 kB / 459.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.659e-05/0.132, allocations: 7.984 kB / 459.2 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.132e-05/0.132, allocations: 12 kB / 459.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001689/0.1322, allocations: 186 kB / 459.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1322, allocations: 0 / 459.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005229/0.1327, allocations: 79.84 kB / 459.4 MB, free: 15.59 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.0001884/0.1329, allocations: 127.1 kB / 459.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000713/0.1336, allocations: 356.1 kB / 459.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.1336, allocations: 0 / 459.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.47e-05/0.1338, allocations: 29.47 kB / 459.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.1348, allocations: 310.9 kB / 460.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.1363, allocations: 0.7431 MB / 461 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003944/0.1367, allocations: 0.812 MB / 461.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001193/0.1368, allocations: 39.27 kB / 461.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.401e-05/0.1369, allocations: 31.44 kB / 461.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1369, allocations: 0 / 461.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of Templates: time 0.00945/0.1464, allocations: 4.667 MB / 466.5 MB, free: 8.418 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