Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_cpp_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_trunk_cpp_Modelica.Blocks.Examples.Noise.ActuatorWithNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009279/0.0009279, allocations: 194.7 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.293/1.293, allocations: 226.5 MB / 245.4 MB, free: 6.477 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007502/0.0007502, allocations: 96.33 kB / 297.4 MB, free: 6.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002163/0.0002165, allocations: 12 kB / 357.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.1907, allocations: 51.29 MB / 408.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2694/0.4602, allocations: 127.1 MB / 0.5232 GB, free: 90.11 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/0.4605, allocations: 87.58 kB / 0.5233 GB, free: 90.06 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.181/0.6415, allocations: 87.32 MB / 0.6086 GB, free: 2.879 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.6415, allocations: 0 / 0.6086 GB, free: 2.879 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002168/0.6417, allocations: 91.88 kB / 0.6087 GB, free: 2.789 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.007383/0.6491, allocations: 3.699 MB / 0.6123 GB, free: 15.02 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.6492, allocations: 12.03 kB / 0.6123 GB, free: 15.01 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001617/0.6508, allocations: 476 kB / 0.6128 GB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005061/0.6559, allocations: 2.678 MB / 0.6154 GB, free: 11.81 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000434/0.6563, allocations: 364.4 kB / 0.6157 GB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005671/0.6569, allocations: 319.9 kB / 0.616 GB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007184/0.6641, allocations: 4.255 MB / 0.6202 GB, free: 6.723 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.475e-05/0.6642, allocations: 11.91 kB / 0.6202 GB, free: 6.711 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003167/0.6645, allocations: 132 kB / 0.6203 GB, free: 6.582 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001264/0.6647, allocations: 142.1 kB / 0.6205 GB, free: 6.441 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006745/0.6714, allocations: 3.721 MB / 0.6241 GB, free: 2.711 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02077/0.6922, allocations: 14.16 MB / 0.6379 GB, free: 4.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003363/0.6956, allocations: 2.234 MB / 0.6401 GB, free: 1.863 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002051/0.6977, allocations: 1.308 MB / 0.6414 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000337/0.698, allocations: 236.1 kB / 0.6416 GB, free: 304 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002125/0.7002, allocations: 1.346 MB / 0.6429 GB, free: 14.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=193): time 3.707e-06/0.7002, allocations: 0 / 0.6429 GB, free: 14.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=244): time 0.02773/0.7279, allocations: 13.3 MB / 0.6559 GB, free: 1.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003959/0.7319, allocations: 3.525 MB / 0.6593 GB, free: 13.81 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003362/0.7353, allocations: 2.264 MB / 0.6616 GB, free: 11.52 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000445/0.7358, allocations: 81.69 kB / 0.6616 GB, free: 11.43 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001212/0.737, allocations: 1.49 MB / 0.6631 GB, free: 9.922 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007488/0.7377, allocations: 0.8241 MB / 0.6639 GB, free: 9.086 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001725/0.7379, allocations: 56 kB / 0.6639 GB, free: 9.031 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.7381, allocations: 411.5 kB / 0.6643 GB, free: 8.625 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002228/0.7403, allocations: 1.317 MB / 0.6656 GB, free: 7.305 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002513/0.7429, allocations: 1.962 MB / 0.6675 GB, free: 5.086 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004788/0.7477, allocations: 3.351 MB / 0.6708 GB, free: 1.469 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/0.7477, allocations: 4 kB / 0.6708 GB, free: 1.465 MB / 442.7 MB Notification: Performance of matching and sorting (n=347) (initialization): time 0.1728/0.9205, allocations: 3.964 MB / 0.6747 GB, free: 88.38 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/0.9206, allocations: 15.16 kB / 0.6747 GB, free: 88.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-05/0.9206, allocations: 15.47 kB / 0.6747 GB, free: 88.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001209/0.9218, allocations: 0.5157 MB / 0.6752 GB, free: 88.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002427/0.9243, allocations: 0.6855 MB / 0.6759 GB, free: 88.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004436/0.9287, allocations: 4.674 MB / 0.6805 GB, free: 85.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002232/0.931, allocations: 204.4 kB / 0.6807 GB, free: 85.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002726/0.9313, allocations: 118 kB / 0.6808 GB, free: 85.77 MB / 442.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.001878/0.9332, allocations: 1.094 MB / 0.6818 GB, free: 85.66 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004842/0.9337, allocations: 263.1 kB / 0.6821 GB, free: 85.66 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006067/0.9397, allocations: 3.76 MB / 0.6858 GB, free: 85.5 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.571e-05/0.9398, allocations: 22.75 kB / 0.6858 GB, free: 85.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.9398, allocations: 3.844 kB / 0.6858 GB, free: 85.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.018e-05/0.9398, allocations: 13.64 kB / 0.6858 GB, free: 85.5 MB / 442.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.01389/0.9537, allocations: 9.555 MB / 0.6951 GB, free: 84.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.9538, allocations: 3 kB / 0.6951 GB, free: 84.76 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001828/0.9556, allocations: 480.6 kB / 0.6956 GB, free: 84.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001783/0.9574, allocations: 0.676 MB / 0.6962 GB, free: 84.73 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001875/0.9576, allocations: 54.55 kB / 0.6963 GB, free: 84.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007154/0.9647, allocations: 7.778 MB / 0.7039 GB, free: 80.89 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003022/0.9678, allocations: 3.289 MB / 0.7071 GB, free: 79.54 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008138/0.976, allocations: 5.611 MB / 0.7126 GB, free: 77.36 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001282/0.9773, allocations: 0.6689 MB / 0.7132 GB, free: 76.92 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003931/0.9777, allocations: 56.81 kB / 0.7133 GB, free: 76.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001385/0.9791, allocations: 166.6 kB / 0.7135 GB, free: 76.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004273/0.9795, allocations: 209.7 kB / 0.7137 GB, free: 76.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001503/0.9797, allocations: 72.42 kB / 0.7137 GB, free: 76.81 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002063/0.9817, allocations: 1.528 MB / 0.7152 GB, free: 76.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.9817, allocations: 3.469 kB / 0.7152 GB, free: 76.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002466/0.9842, allocations: 0.8539 MB / 0.7161 GB, free: 76.1 MB / 442.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.001435/0.9857, allocations: 0.8245 MB / 0.7169 GB, free: 75.92 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005409/0.9911, allocations: 3.817 MB / 0.7206 GB, free: 74.31 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.9911, allocations: 0 / 0.7206 GB, free: 74.31 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003198/0.9943, allocations: 2.325 MB / 0.7229 GB, free: 73.21 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003265/0.9976, allocations: 0.6198 MB / 0.7235 GB, free: 73.03 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/1.009, allocations: 8.673 MB / 0.7319 GB, free: 68.42 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001686/1.01, allocations: 2.373 MB / 0.7342 GB, free: 67.36 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001154/1.012, allocations: 229 kB / 0.7345 GB, free: 67.34 MB / 442.7 MB Notification: Performance of SimCode: time 8.21e-07/1.012, allocations: 0 / 0.7345 GB, free: 67.34 MB / 442.7 MB Notification: Performance of Templates: time 0.09871/1.11, allocations: 117.9 MB / 0.8496 GB, free: 3.09 MB / 474.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.makefile (rm -f Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.pipe >> ../files/Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.sim & ./Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.ActuatorWithNoise --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_trunk_cpp_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches