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.00913/0.00913, allocations: 92.27 kB / 15.91 MB, free: 6.273 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.001417/0.001417, allocations: 199.8 kB / 16.83 MB, free: 6.188 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.57/1.57, allocations: 205.1 MB / 222.7 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07963/0.07963, allocations: 12.59 MB / 282.6 MB, free: 8.848 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.001697/0.001697, allocations: 84.83 kB / 342.8 MB, free: 21.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1157, allocations: 49.4 MB / 392.2 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004477/0.1202, allocations: 2.708 MB / 394.9 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.1219, allocations: 0.9359 MB / 395.8 MB, free: 44 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001989/0.1221, allocations: 11.94 kB / 395.8 MB, free: 32 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002409/0.1223, allocations: 39.66 kB / 395.9 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002273/0.1226, allocations: 47.58 kB / 395.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006575/0.1232, allocations: 211.7 kB / 396.1 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003714/0.1236, allocations: 355 kB / 396.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000352/0.124, allocations: 184.6 kB / 396.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.1241, allocations: 123.3 kB / 396.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.1243, allocations: 139.2 kB / 396.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.603e-05/0.1244, allocations: 16 kB / 396.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.1245, allocations: 51.97 kB / 397 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.1246, allocations: 71.67 kB / 397 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.1247, allocations: 143.1 kB / 397.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003588/0.1251, allocations: 375 kB / 397.6 MB, free: 14.31 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1251, allocations: 0 / 397.6 MB, free: 14.31 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1251, allocations: 0 / 397.6 MB, free: 14.31 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1251, allocations: 0 / 397.6 MB, free: 14.31 MB / 302.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.001012/0.1262, allocations: 0.6468 MB / 398.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.1262, allocations: 12.03 kB / 398.2 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.965e-05/0.1263, allocations: 40.47 kB / 398.3 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004113/0.1267, allocations: 316 kB / 398.6 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.1267, allocations: 24.88 kB / 398.6 MB, free: 13.19 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.232e-05/0.1268, allocations: 28.31 kB / 398.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.1281, allocations: 0.7517 MB / 399.4 MB, free: 12.37 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.1281, allocations: 0 / 399.4 MB, free: 12.37 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.991e-05/0.1281, allocations: 12 kB / 399.4 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.1282, allocations: 4 kB / 399.4 MB, free: 12.35 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005308/0.1287, allocations: 227.8 kB / 399.6 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007864/0.1295, allocations: 0.7682 MB / 400.4 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009901/0.1305, allocations: 0.6191 MB / 401 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004506/0.131, allocations: 275.2 kB / 401.3 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006752/0.1316, allocations: 0.5856 MB / 401.8 MB, free: 9.598 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.1317, allocations: 50.48 kB / 401.9 MB, free: 9.539 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 1.803e-06/0.1317, allocations: 0 / 401.9 MB, free: 9.539 MB / 302.1 MB Notification: Performance of matching and sorting (n=52): time 0.001178/0.1329, allocations: 0.5246 MB / 402.4 MB, free: 9.008 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001389/0.133, allocations: 211.9 kB / 402.6 MB, free: 8.758 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/0.1333, allocations: 254.6 kB / 402.9 MB, free: 8.504 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.1333, allocations: 29.7 kB / 402.9 MB, free: 8.469 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.1334, allocations: 152.8 kB / 403.1 MB, free: 8.316 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.205e-05/0.1335, allocations: 59.5 kB / 403.1 MB, free: 8.258 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.1336, allocations: 86.28 kB / 403.2 MB, free: 8.164 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1338, allocations: 342.8 kB / 403.5 MB, free: 7.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/0.134, allocations: 85.06 kB / 403.6 MB, free: 7.738 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004225/0.1344, allocations: 435 kB / 404 MB, free: 7.145 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005814/0.135, allocations: 0.5242 MB / 404.6 MB, free: 6.457 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.135, allocations: 8 kB / 404.6 MB, free: 6.449 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007702/0.1358, allocations: 0.4893 MB / 405.1 MB, free: 5.953 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.1358, allocations: 12 kB / 405.1 MB, free: 5.941 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.1358, allocations: 12 kB / 405.1 MB, free: 5.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.1358, allocations: 16 kB / 405.1 MB, free: 5.914 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003015/0.1362, allocations: 115.9 kB / 405.2 MB, free: 5.801 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.075e-05/0.1362, allocations: 31.8 kB / 405.2 MB, free: 5.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002487/0.1364, allocations: 52.12 kB / 405.3 MB, free: 5.719 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.797e-05/0.1365, allocations: 28 kB / 405.3 MB, free: 5.691 MB / 302.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.00019/0.1367, allocations: 181.6 kB / 405.5 MB, free: 5.504 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005965/0.1373, allocations: 345.8 kB / 405.8 MB, free: 5.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006624/0.1379, allocations: 372.5 kB / 406.2 MB, free: 4.789 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.138, allocations: 4.469 kB / 406.2 MB, free: 4.785 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/0.138, allocations: 4 kB / 406.2 MB, free: 4.781 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.138, allocations: 0 / 406.2 MB, free: 4.781 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003737/0.1384, allocations: 337.1 kB / 406.5 MB, free: 4.402 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.1384, allocations: 4 kB / 406.5 MB, free: 4.398 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003656/0.1388, allocations: 99.88 kB / 406.6 MB, free: 4.301 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.1388, allocations: 4 kB / 406.6 MB, free: 4.297 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.1388, allocations: 15.98 kB / 406.7 MB, free: 4.281 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.1388, allocations: 4 kB / 406.7 MB, free: 4.277 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1388, allocations: 0 / 406.7 MB, free: 4.277 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.14, allocations: 0.7784 MB / 407.4 MB, free: 3.473 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.974e-05/0.1401, allocations: 124.5 kB / 407.6 MB, free: 3.332 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.26e-05/0.1402, allocations: 12 kB / 407.6 MB, free: 3.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000248/0.1405, allocations: 27.97 kB / 407.6 MB, free: 3.293 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/0.1405, allocations: 12 kB / 407.6 MB, free: 3.281 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.23e-05/0.1405, allocations: 19.98 kB / 407.6 MB, free: 3.262 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001675/0.1407, allocations: 182 kB / 407.8 MB, free: 3.086 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1407, allocations: 0 / 407.8 MB, free: 3.086 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005117/0.1412, allocations: 71.94 kB / 407.9 MB, free: 3.016 MB / 302.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.0001783/0.1414, allocations: 127 kB / 408 MB, free: 2.883 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006893/0.1421, allocations: 365.5 kB / 408.4 MB, free: 2.531 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1421, allocations: 0 / 408.4 MB, free: 2.531 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.618e-05/0.1422, allocations: 23.98 kB / 408.4 MB, free: 2.508 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009852/0.1432, allocations: 294 kB / 408.7 MB, free: 2.215 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.1446, allocations: 0.8778 MB / 409.5 MB, free: 1.297 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.145, allocations: 0.8123 MB / 410.4 MB, free: 472 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001028/0.1451, allocations: 35.28 kB / 410.4 MB, free: 440 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.524e-05/0.1452, allocations: 31.44 kB / 410.4 MB, free: 408 kB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1452, allocations: 0 / 410.4 MB, free: 408 kB / 302.1 MB Notification: Performance of Templates: time 0.008256/0.1535, allocations: 4.272 MB / 414.7 MB, free: 12.12 MB / 318.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","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches