Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001352/0.001352, allocations: 121.7 kB / 17.83 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001766/0.001766, allocations: 205.2 kB / 18.79 MB, free: 4.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.446/1.446, allocations: 230.4 MB / 250 MB, free: 8.98 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 71.83 kB / 367.3 MB, free: 7.035 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3177, allocations: 53.3 MB / 420.6 MB, free: 8.328 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.005984/0.3237, allocations: 2.707 MB / 423.3 MB, free: 5.609 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002748/0.3265, allocations: 0.9543 MB / 424.3 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002807/0.3268, allocations: 7.938 kB / 424.3 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002914/0.3271, allocations: 63.33 kB / 424.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003498/0.3274, allocations: 63.45 kB / 424.4 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000948/0.3283, allocations: 237.8 kB / 424.7 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006291/0.329, allocations: 386.9 kB / 425 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004069/0.3294, allocations: 132.8 kB / 425.2 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002363/0.3296, allocations: 143.4 kB / 425.3 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002741/0.3299, allocations: 143.2 kB / 425.4 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.213e-05/0.33, allocations: 32 kB / 425.5 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001977/0.3302, allocations: 71.95 kB / 425.5 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.3303, allocations: 79.69 kB / 425.6 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002061/0.3305, allocations: 163.1 kB / 425.8 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006687/0.3312, allocations: 418 kB / 426.2 MB, free: 2.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3312, allocations: 0 / 426.2 MB, free: 2.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3312, allocations: 4 kB / 426.2 MB, free: 2.746 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.3312, allocations: 0 / 426.2 MB, free: 2.746 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.001413/0.3326, allocations: 0.6466 MB / 426.8 MB, free: 2.051 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.3327, allocations: 12.03 kB / 426.9 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.3328, allocations: 36.7 kB / 426.9 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007043/0.3335, allocations: 352 kB / 427.2 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.03e-05/0.3335, allocations: 24.94 kB / 427.3 MB, free: 1.598 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.619e-05/0.3336, allocations: 24.38 kB / 427.3 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/0.3354, allocations: 0.7404 MB / 428 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/0.3354, allocations: 3.938 kB / 428 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.024e-05/0.3355, allocations: 16 kB / 428 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.3355, allocations: 4 kB / 428 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000726/0.3362, allocations: 223.7 kB / 428.3 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.3374, allocations: 0.7645 MB / 429 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001427/0.3389, allocations: 0.592 MB / 429.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006416/0.3395, allocations: 243.4 kB / 429.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008668/0.3404, allocations: 0.6048 MB / 430.5 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.3e-05/0.3404, allocations: 46.56 kB / 430.5 MB, free: 14.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=52): time 2.655e-06/0.3404, allocations: 0 / 430.5 MB, free: 14.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=52): time 0.001279/0.3417, allocations: 0.5244 MB / 431 MB, free: 13.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001754/0.3419, allocations: 207.9 kB / 431.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002992/0.3422, allocations: 250.6 kB / 431.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/0.3422, allocations: 37.81 kB / 431.5 MB, free: 12.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.3423, allocations: 152.8 kB / 431.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.526e-05/0.3424, allocations: 47.78 kB / 431.7 MB, free: 12.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.3425, allocations: 82.25 kB / 431.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.3427, allocations: 350.8 kB / 432.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.3428, allocations: 85.06 kB / 432.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005012/0.3433, allocations: 438.9 kB / 432.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007834/0.3441, allocations: 0.5203 MB / 433.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/0.3441, allocations: 4 kB / 433.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008294/0.345, allocations: 0.4974 MB / 433.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.345, allocations: 8 kB / 433.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.345, allocations: 12 kB / 433.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.891e-05/0.345, allocations: 16 kB / 433.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003267/0.3454, allocations: 119.8 kB / 433.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.566e-05/0.3454, allocations: 23.92 kB / 433.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002861/0.3457, allocations: 52.06 kB / 433.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-05/0.3457, allocations: 32 kB / 433.9 MB, free: 10.17 MB / 350.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.000225/0.3459, allocations: 194.5 kB / 434.1 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006597/0.3466, allocations: 342.1 kB / 434.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006907/0.3473, allocations: 361.2 kB / 434.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/0.3473, allocations: 8 kB / 434.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3473, allocations: 0 / 434.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.3473, allocations: 3.984 kB / 434.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005254/0.3478, allocations: 345.1 kB / 435.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.3478, allocations: 0 / 435.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005455/0.3484, allocations: 103.9 kB / 435.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-05/0.3484, allocations: 4 kB / 435.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.119e-05/0.3484, allocations: 11.98 kB / 435.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.3485, allocations: 7.938 kB / 435.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.007e-05/0.3485, allocations: 11.94 kB / 435.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001838/0.3503, allocations: 0.7747 MB / 436.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.3504, allocations: 120.8 kB / 436.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.596e-05/0.3505, allocations: 15.98 kB / 436.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003693/0.3509, allocations: 23.98 kB / 436.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.813e-05/0.3509, allocations: 7.984 kB / 436.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-05/0.351, allocations: 20.06 kB / 436.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002624/0.3512, allocations: 182 kB / 436.4 MB, free: 7.555 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3512, allocations: 3.938 kB / 436.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008409/0.3521, allocations: 79.89 kB / 436.5 MB, free: 7.473 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.0002773/0.3524, allocations: 119.2 kB / 436.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.3534, allocations: 345.4 kB / 437 MB, free: 7.016 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.3534, allocations: 4.25 kB / 437 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.3535, allocations: 35.91 kB / 437 MB, free: 6.977 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/0.355, allocations: 294 kB / 437.3 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002154/0.3572, allocations: 0.7665 MB / 438.1 MB, free: 5.879 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005675/0.3577, allocations: 0.8081 MB / 438.9 MB, free: 5.043 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001584/0.3579, allocations: 39.27 kB / 438.9 MB, free: 5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.499e-05/0.358, allocations: 35.44 kB / 438.9 MB, free: 4.965 MB / 350.1 MB Notification: Performance of SimCode: time 8.92e-07/0.358, allocations: 0 / 438.9 MB, free: 4.965 MB / 350.1 MB Notification: Performance of Templates: time 0.01428/0.3723, allocations: 4.695 MB / 443.6 MB, free: 344 kB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/ClockedWith_AD_DA_Effects/ClockedWith_AD_DA_Effects.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches