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.0007171/0.0007172, allocations: 93.78 kB / 16.06 MB, free: 40 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000799/0.000799, allocations: 183 kB / 16.96 MB, free: 6.891 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.195/1.195, allocations: 205.4 MB / 223.1 MB, free: 5.488 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.06072/0.06072, allocations: 12.6 MB / 284 MB, free: 8.578 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.0006467/0.0006468, allocations: 23.94 kB / 345.2 MB, free: 20.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07299/0.07365, allocations: 50.38 MB / 395.5 MB, free: 2.445 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.002724/0.07641, allocations: 2.342 MB / 397.9 MB, free: 84 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001542/0.07798, allocations: 0.9204 MB / 398.8 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002018/0.07821, allocations: 7.938 kB / 398.8 MB, free: 15.15 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001617/0.07838, allocations: 43.58 kB / 398.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002155/0.07861, allocations: 55.64 kB / 398.9 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000555/0.07917, allocations: 203.7 kB / 399.1 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003413/0.07952, allocations: 350.9 kB / 399.4 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002813/0.07981, allocations: 188.5 kB / 399.6 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.07995, allocations: 91.45 kB / 399.7 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.08011, allocations: 119.2 kB / 399.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.098e-05/0.08015, allocations: 8 kB / 399.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.535e-05/0.08025, allocations: 47.97 kB / 399.9 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.354e-05/0.08034, allocations: 55.69 kB / 399.9 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.08047, allocations: 156.8 kB / 400.1 MB, free: 13.85 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000325/0.0808, allocations: 350.9 kB / 400.4 MB, free: 13.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.08081, allocations: 0 / 400.4 MB, free: 13.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.08082, allocations: 4 kB / 400.4 MB, free: 13.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.08084, allocations: 0 / 400.4 MB, free: 13.5 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.0008941/0.08174, allocations: 0.5962 MB / 401 MB, free: 12.86 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.08178, allocations: 12.03 kB / 401.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.166e-05/0.08185, allocations: 40.47 kB / 401.1 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003689/0.08223, allocations: 320 kB / 401.4 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.08226, allocations: 20.94 kB / 401.4 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.457e-05/0.08232, allocations: 28.38 kB / 401.5 MB, free: 12.4 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.08364, allocations: 0.7791 MB / 402.2 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.08366, allocations: 3.906 kB / 402.2 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.222e-05/0.0837, allocations: 12 kB / 402.2 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.08372, allocations: 4 kB / 402.2 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005664/0.08429, allocations: 247.8 kB / 402.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007915/0.08509, allocations: 0.7759 MB / 403.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.08614, allocations: 0.6576 MB / 403.9 MB, free: 9.738 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004506/0.08661, allocations: 275.2 kB / 404.2 MB, free: 9.457 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005712/0.08719, allocations: 0.5973 MB / 404.8 MB, free: 8.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.08723, allocations: 42.56 kB / 404.8 MB, free: 8.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 2.053e-06/0.08724, allocations: 0 / 404.8 MB, free: 8.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=52): time 0.001173/0.08842, allocations: 0.5603 MB / 405.4 MB, free: 8.113 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.08855, allocations: 215.9 kB / 405.6 MB, free: 7.859 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.08879, allocations: 246.6 kB / 405.8 MB, free: 7.613 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.522e-05/0.08883, allocations: 41.64 kB / 405.9 MB, free: 7.566 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.08894, allocations: 156.8 kB / 406 MB, free: 7.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.654e-05/0.08899, allocations: 47.56 kB / 406.1 MB, free: 7.363 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.746e-05/0.08906, allocations: 49.7 kB / 406.1 MB, free: 7.309 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.08918, allocations: 342.8 kB / 406.5 MB, free: 6.965 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/0.08938, allocations: 93.06 kB / 406.6 MB, free: 6.871 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003896/0.08977, allocations: 435 kB / 407 MB, free: 6.277 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005868/0.09037, allocations: 0.5398 MB / 407.5 MB, free: 5.574 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.09039, allocations: 0 / 407.5 MB, free: 5.574 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007493/0.09114, allocations: 0.5012 MB / 408 MB, free: 5.066 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.09117, allocations: 15.94 kB / 408 MB, free: 5.051 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.09119, allocations: 12 kB / 408.1 MB, free: 5.039 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.962e-05/0.09123, allocations: 16 kB / 408.1 MB, free: 5.023 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002998/0.09153, allocations: 123.8 kB / 408.2 MB, free: 4.902 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-05/0.09156, allocations: 20.38 kB / 408.2 MB, free: 4.883 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000245/0.09181, allocations: 55.58 kB / 408.3 MB, free: 4.828 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.588e-05/0.09185, allocations: 32 kB / 408.3 MB, free: 4.797 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.0001708/0.09203, allocations: 185.6 kB / 408.5 MB, free: 4.605 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006221/0.09266, allocations: 366.3 kB / 408.8 MB, free: 4.242 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006721/0.09334, allocations: 372.7 kB / 409.2 MB, free: 3.871 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.09336, allocations: 8.031 kB / 409.2 MB, free: 3.863 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.09337, allocations: 4 kB / 409.2 MB, free: 3.859 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.09338, allocations: 3.984 kB / 409.2 MB, free: 3.855 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003537/0.09374, allocations: 341.1 kB / 409.5 MB, free: 3.473 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/0.09376, allocations: 4 kB / 409.5 MB, free: 3.469 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003908/0.09416, allocations: 119.7 kB / 409.7 MB, free: 3.352 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.09417, allocations: 4 kB / 409.7 MB, free: 3.348 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.434e-05/0.0942, allocations: 12 kB / 409.7 MB, free: 3.336 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.09421, allocations: 4 kB / 409.7 MB, free: 3.332 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.09422, allocations: 0 / 409.7 MB, free: 3.332 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.09546, allocations: 0.8253 MB / 410.5 MB, free: 2.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.83e-05/0.09554, allocations: 116.5 kB / 410.6 MB, free: 2.348 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.623e-05/0.0956, allocations: 16 kB / 410.6 MB, free: 2.332 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002513/0.09585, allocations: 35.97 kB / 410.7 MB, free: 2.297 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.598e-05/0.0959, allocations: 4 kB / 410.7 MB, free: 2.293 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/0.09593, allocations: 16.06 kB / 410.7 MB, free: 2.277 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000162/0.0961, allocations: 182 kB / 410.9 MB, free: 2.102 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.09611, allocations: 0 / 410.9 MB, free: 2.102 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004911/0.0966, allocations: 83.84 kB / 411 MB, free: 2.02 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.0001586/0.09677, allocations: 115.2 kB / 411.1 MB, free: 1.898 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006916/0.09747, allocations: 380.8 kB / 411.4 MB, free: 1.531 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.09748, allocations: 0 / 411.4 MB, free: 1.531 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.09759, allocations: 32.67 kB / 411.5 MB, free: 1.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.0986, allocations: 317.8 kB / 411.8 MB, free: 1.184 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.1, allocations: 0.9149 MB / 412.7 MB, free: 236 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.1004, allocations: 0.8161 MB / 413.5 MB, free: 15.39 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001111/0.1005, allocations: 35.28 kB / 413.5 MB, free: 15.36 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.726e-05/0.1006, allocations: 35.42 kB / 413.6 MB, free: 15.32 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1006, allocations: 0 / 413.6 MB, free: 15.32 MB / 318.1 MB Notification: Performance of Templates: time 0.007862/0.1084, allocations: 4.244 MB / 417.8 MB, free: 11.08 MB / 318.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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