Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Blocks.Examples.Noise.ActuatorWithNoise,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1600,variableFilter="time|controller.busdelay.y|controller.positionToSpeed.x|controller.position_PI.x|controller.speed_PI.x|elastoGap.s_rel|elastoGap.v_rel|gearbox.phi_rel|gearbox.w_rel|rodMass.s|rodMass.v|slewRateLimiter.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise") translateModel(Modelica.Blocks.Examples.Noise.ActuatorWithNoise,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1600,variableFilter="time|controller.busdelay.y|controller.positionToSpeed.x|controller.position_PI.x|controller.speed_PI.x|elastoGap.s_rel|elastoGap.v_rel|gearbox.phi_rel|gearbox.w_rel|rodMass.s|rodMass.v|slewRateLimiter.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000992/0.0009918, allocations: 176.6 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 223.3 MB / 241.4 MB, free: 9.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 100.6 kB / 292.6 MB, free: 10.54 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005292/0.0005292, allocations: 15.94 kB / 352.3 MB, free: 14.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.272, allocations: 50.4 MB / 402.7 MB, free: 32.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3497/0.6218, allocations: 125.3 MB / 0.5157 GB, free: 100.2 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003138/0.6222, allocations: 84.78 kB / 0.5157 GB, free: 100.1 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1811/0.8033, allocations: 79.44 MB / 0.5933 GB, free: 21.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.544e-06/0.8033, allocations: 0 / 0.5933 GB, free: 21.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004952/0.8038, allocations: 91.88 kB / 0.5934 GB, free: 20.98 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 814 * Number of variables: 814 Notification: Performance of Generate backend data structure: time 0.01277/0.8166, allocations: 3.675 MB / 0.597 GB, free: 17.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.8167, allocations: 12.03 kB / 0.597 GB, free: 17.22 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003213/0.8199, allocations: 460 kB / 0.5975 GB, free: 16.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007154/0.8271, allocations: 2.651 MB / 0.6 GB, free: 14.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006262/0.8278, allocations: 364.4 kB / 0.6004 GB, free: 13.69 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001644/0.8294, allocations: 323.8 kB / 0.6007 GB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01132/0.8408, allocations: 4.241 MB / 0.6048 GB, free: 8.992 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001818/0.841, allocations: 15.83 kB / 0.6049 GB, free: 8.977 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007902/0.8418, allocations: 132 kB / 0.605 GB, free: 8.848 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001328/0.8419, allocations: 142.1 kB / 0.6051 GB, free: 8.707 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008619/0.8506, allocations: 3.702 MB / 0.6087 GB, free: 4.996 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03329/0.8839, allocations: 14.03 MB / 0.6224 GB, free: 6.594 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005912/0.8899, allocations: 2.226 MB / 0.6246 GB, free: 4.293 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003819/0.8937, allocations: 1.288 MB / 0.6259 GB, free: 3.008 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000659/0.8944, allocations: 240 kB / 0.6261 GB, free: 2.734 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003993/0.8985, allocations: 1.342 MB / 0.6274 GB, free: 1.367 MB / 394.7 MB Notification: Performance of pre-optimization done (n=193): time 8.677e-06/0.8985, allocations: 7.875 kB / 0.6274 GB, free: 1.359 MB / 394.7 MB Notification: Performance of matching and sorting (n=244): time 0.04734/0.9459, allocations: 13.24 MB / 0.6403 GB, free: 4.008 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004584/0.9505, allocations: 3.543 MB / 0.6438 GB, free: 296 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004468/0.955, allocations: 2.229 MB / 0.646 GB, free: 14.03 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003291/0.9554, allocations: 77.69 kB / 0.6461 GB, free: 13.95 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001527/0.9569, allocations: 1.494 MB / 0.6475 GB, free: 12.43 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000953/0.9579, allocations: 0.8086 MB / 0.6483 GB, free: 11.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002549/0.9581, allocations: 56 kB / 0.6484 GB, free: 11.56 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002292/0.9584, allocations: 411.5 kB / 0.6487 GB, free: 11.15 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002397/0.9608, allocations: 1.313 MB / 0.65 GB, free: 9.836 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002846/0.9636, allocations: 1.95 MB / 0.6519 GB, free: 7.633 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005493/0.9691, allocations: 3.339 MB / 0.6552 GB, free: 4.027 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.747e-05/0.9692, allocations: 4 kB / 0.6552 GB, free: 4.023 MB / 426.7 MB Notification: Performance of matching and sorting (n=347) (initialization): time 0.007944/0.9771, allocations: 3.949 MB / 0.6591 GB, free: 12 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.691e-05/0.9772, allocations: 12 kB / 0.6591 GB, free: 0 / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2702/1.247, allocations: 16.52 kB / 0.6591 GB, free: 82.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001607/1.249, allocations: 498.1 kB / 0.6596 GB, free: 82.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003241/1.252, allocations: 0.6906 MB / 0.6602 GB, free: 82.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004433/1.257, allocations: 4.647 MB / 0.6648 GB, free: 79.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002595/1.259, allocations: 207.5 kB / 0.665 GB, free: 79.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002813/1.26, allocations: 115.8 kB / 0.6651 GB, free: 79.86 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,$PRE.motor.uniformNoise.state[1],motor.uniformNoise.state[1],$PRE.motor.uniformNoise.state[2],motor.uniformNoise.state[2],$PRE.motor.uniformNoise.state[3],motor.uniformNoise.state[3],$PRE.motor.uniformNoise.state[4],motor.uniformNoise.state[4],$PRE.motor.uniformNoise.r,motor.uniformNoise.r,$PRE.motor.uniformNoise.r_raw,motor.uniformNoise.r_raw,gearbox.lossyGear.tau_aPos,gearbox.lossyGear.startForward,gearbox.lossyGear.startBackward,gearbox.lossyGear.locked,$PRE.gearbox.lossyGear.mode,gearbox.lossyGear.mode,gearbox.lossyGear.ideal,motor.uniformNoise.localSeed,motor.uniformNoise.actualGlobalSeed,globalSeed.seed,globalSeed.id_impure) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (316): * Single equations (assignments): 310 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {2 23} Notification: Performance of prepare postOptimizeDAE: time 0.002196/1.262, allocations: 1.102 MB / 0.6662 GB, free: 79.74 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005305/1.262, allocations: 260.6 kB / 0.6664 GB, free: 79.74 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006517/1.269, allocations: 3.739 MB / 0.6701 GB, free: 79.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.939e-05/1.269, allocations: 20.19 kB / 0.6701 GB, free: 79.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/1.269, allocations: 4.906 kB / 0.6701 GB, free: 79.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.323e-05/1.269, allocations: 13.94 kB / 0.6701 GB, free: 79.59 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01522/1.284, allocations: 9.463 MB / 0.6793 GB, free: 78.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/1.284, allocations: 3.406 kB / 0.6793 GB, free: 78.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001901/1.286, allocations: 470.8 kB / 0.6798 GB, free: 78.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001554/1.288, allocations: 0.652 MB / 0.6804 GB, free: 78.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000158/1.288, allocations: 56.52 kB / 0.6805 GB, free: 78.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007662/1.296, allocations: 7.753 MB / 0.688 GB, free: 74.99 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003344/1.299, allocations: 3.293 MB / 0.6913 GB, free: 73.63 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008211/1.307, allocations: 5.584 MB / 0.6967 GB, free: 71.95 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00127/1.309, allocations: 0.6485 MB / 0.6974 GB, free: 71.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003443/1.309, allocations: 54.23 kB / 0.6974 GB, free: 71.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001415/1.31, allocations: 166.2 kB / 0.6976 GB, free: 71.51 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004088/1.311, allocations: 206.9 kB / 0.6978 GB, free: 71.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001397/1.311, allocations: 70.98 kB / 0.6978 GB, free: 71.46 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002081/1.313, allocations: 1.511 MB / 0.6993 GB, free: 70.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/1.313, allocations: 2.953 kB / 0.6993 GB, free: 70.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002504/1.316, allocations: 0.8506 MB / 0.7001 GB, free: 70.76 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 11 ($STATESET1.x,controller.speed_PI.x,controller.positionToSpeed.x,controller.position_PI.x,gearbox.phi_rel,gearbox.w_rel,slewRateLimiter.y,rodMass.s,rodMass.v,elastoGap.s_rel,elastoGap.v_rel) * Number of discrete variables: 12 ($whenCondition1,motor.uniformNoise.state[1],motor.uniformNoise.state[2],motor.uniformNoise.state[3],motor.uniformNoise.state[4],motor.uniformNoise.r,motor.uniformNoise.r_raw,gearbox.lossyGear.tau_aPos,gearbox.lossyGear.startForward,gearbox.lossyGear.startBackward,gearbox.lossyGear.locked,gearbox.lossyGear.mode) * Number of discrete states: 5 (motor.uniformNoise.state[1],motor.uniformNoise.state[2],motor.uniformNoise.state[3],motor.uniformNoise.state[4],gearbox.lossyGear.mode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (204): * Single equations (assignments): 198 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(3,100.0%) 11} * Non-linear torn systems: 1 {2 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.001113/1.317, allocations: 0.5828 MB / 0.7007 GB, free: 70.62 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005466/1.322, allocations: 3.792 MB / 0.7044 GB, free: 69.03 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.322, allocations: 0 / 0.7044 GB, free: 69.03 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003221/1.325, allocations: 2.325 MB / 0.7067 GB, free: 67.93 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004175/1.33, allocations: 0.6103 MB / 0.7073 GB, free: 67.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01665/1.346, allocations: 8.555 MB / 0.7156 GB, free: 63.24 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00294/1.349, allocations: 2.386 MB / 0.718 GB, free: 62.18 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002584/1.352, allocations: 0.612 MB / 0.7186 GB, free: 62.11 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008909/1.353, allocations: 213 kB / 0.7188 GB, free: 62.09 MB / 426.7 MB Notification: Performance of SimCode: time 1.031e-06/1.353, allocations: 0 / 0.7188 GB, free: 62.09 MB / 426.7 MB Notification: Performance of Templates: time 0.07186/1.425, allocations: 44.91 MB / 0.7626 GB, free: 36.6 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/ActuatorWithNoise/ActuatorWithNoise.csv","../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches