Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.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) 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.Blocks.Examples.NoiseExamples.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_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise") translateModel(Modelica.Blocks.Examples.NoiseExamples.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_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 96.23 kB / 16.93 MB, free: 5.984 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.001865/0.001866, allocations: 176.7 kB / 17.82 MB, free: 5.652 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.67/1.67, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.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: Performance of FrontEnd - loaded program: time 0.0004897/0.0004902, allocations: 12 kB / 280.7 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09771/0.09821, allocations: 47.59 MB / 328.3 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise): time 0.01492/0.1132, allocations: 11.03 MB / 339.4 MB, free: 9.016 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01126/0.1245, allocations: 5.07 MB / 344.4 MB, free: 3.934 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002574/0.1271, allocations: 63.69 kB / 344.5 MB, free: 3.871 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002546/0.1297, allocations: 0.7577 MB / 345.3 MB, free: 3.109 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003585/0.1333, allocations: 1.024 MB / 346.3 MB, free: 2.082 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002035/0.1354, allocations: 0.6122 MB / 346.9 MB, free: 1.469 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004469/0.1398, allocations: 2.637 MB / 349.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003154/0.143, allocations: 2.121 MB / 351.6 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001925/0.1449, allocations: 1.277 MB / 352.9 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002685/0.1476, allocations: 1.63 MB / 354.6 MB, free: 9.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007204/0.1484, allocations: 204 kB / 354.8 MB, free: 9.551 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001549/0.1499, allocations: 443.5 kB / 355.2 MB, free: 9.117 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00164/0.1516, allocations: 0.9386 MB / 356.1 MB, free: 8.176 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001746/0.1534, allocations: 0.7576 MB / 356.9 MB, free: 7.41 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007528/0.1609, allocations: 6.003 MB / 362.9 MB, free: 1.391 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.161, allocations: 0 / 362.9 MB, free: 1.391 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.648e-06/0.161, allocations: 3.938 kB / 362.9 MB, free: 1.387 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003131/0.1613, allocations: 0 / 362.9 MB, free: 1.387 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: 814 * Number of variables: 814 Notification: Performance of Generate backend data structure: time 0.01293/0.1742, allocations: 3.654 MB / 366.5 MB, free: 13.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.1743, allocations: 12.02 kB / 366.6 MB, free: 13.65 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002706/0.177, allocations: 443.2 kB / 367 MB, free: 13.21 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005995/0.183, allocations: 2.258 MB / 369.2 MB, free: 10.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009023/0.184, allocations: 419.2 kB / 369.7 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001251/0.1853, allocations: 323.8 kB / 370 MB, free: 10.16 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01011/0.1954, allocations: 4.218 MB / 374.2 MB, free: 5.871 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001459/0.1956, allocations: 11.89 kB / 374.2 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005879/0.1962, allocations: 132 kB / 374.3 MB, free: 5.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000177/0.1964, allocations: 146.1 kB / 374.5 MB, free: 5.586 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008239/0.2046, allocations: 3.846 MB / 378.3 MB, free: 1.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2387/0.4433, allocations: 14.15 MB / 392.5 MB, free: 41.13 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004376/0.4478, allocations: 2.181 MB / 394.6 MB, free: 39.81 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003788/0.4482, allocations: 215.5 kB / 394.9 MB, free: 39.61 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002515/0.4508, allocations: 1.315 MB / 396.2 MB, free: 38.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=186): time 3.797e-06/0.4508, allocations: 4 kB / 396.2 MB, free: 38.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=234): time 0.03641/0.4872, allocations: 13.1 MB / 409.3 MB, free: 30.96 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004535/0.4918, allocations: 3.361 MB / 412.6 MB, free: 27.43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004448/0.4963, allocations: 2.206 MB / 414.8 MB, free: 25.2 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005942/0.4969, allocations: 77.69 kB / 414.9 MB, free: 25.11 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001571/0.4985, allocations: 1.494 MB / 416.4 MB, free: 23.61 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009719/0.4995, allocations: 0.7805 MB / 417.2 MB, free: 22.83 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001971/0.4997, allocations: 52 kB / 417.2 MB, free: 22.78 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.4999, allocations: 407.4 kB / 417.6 MB, free: 22.38 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002866/0.5027, allocations: 1.294 MB / 418.9 MB, free: 21.08 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003232/0.506, allocations: 1.929 MB / 420.9 MB, free: 18.89 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003129/0.5091, allocations: 1.557 MB / 422.4 MB, free: 17.31 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.49e-05/0.5092, allocations: 4 kB / 422.4 MB, free: 17.31 MB / 318.1 MB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008564/0.5177, allocations: 3.89 MB / 426.3 MB, free: 13.36 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.116e-05/0.5178, allocations: 12 kB / 426.3 MB, free: 13.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.883e-05/0.5178, allocations: 20.03 kB / 426.3 MB, free: 13.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001143/0.519, allocations: 0.5003 MB / 426.8 MB, free: 12.81 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003396/0.5224, allocations: 0.6639 MB / 427.5 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0065/0.5289, allocations: 4.747 MB / 432.3 MB, free: 7.133 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003717/0.5327, allocations: 199.8 kB / 432.4 MB, free: 6.938 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005001/0.5332, allocations: 108 kB / 432.6 MB, free: 6.832 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * 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 (308): * Single equations (assignments): 303 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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.003563/0.5368, allocations: 1.083 MB / 433.6 MB, free: 5.738 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00121/0.538, allocations: 256.8 kB / 433.9 MB, free: 5.484 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009459/0.5475, allocations: 3.676 MB / 437.6 MB, free: 1.777 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.449e-05/0.5476, allocations: 20 kB / 437.6 MB, free: 1.758 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.5476, allocations: 4 kB / 437.6 MB, free: 1.754 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.052e-05/0.5476, allocations: 11.95 kB / 437.6 MB, free: 1.742 MB / 318.1 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.02274/0.5704, allocations: 9.348 MB / 446.9 MB, free: 8.305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/0.5704, allocations: 8.938 kB / 447 MB, free: 8.297 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001832/0.5723, allocations: 431.6 kB / 447.4 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001733/0.574, allocations: 0.6221 MB / 448 MB, free: 7.242 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002696/0.5743, allocations: 59.97 kB / 448.1 MB, free: 7.184 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01129/0.5856, allocations: 7.674 MB / 455.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00398/0.5897, allocations: 3.115 MB / 458.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01159/0.6013, allocations: 5.555 MB / 464.4 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001964/0.6033, allocations: 0.6265 MB / 465 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001068/0.6044, allocations: 52 kB / 465.1 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002306/0.6067, allocations: 163.8 kB / 465.2 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006403/0.6074, allocations: 197.6 kB / 465.4 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002124/0.6076, allocations: 63.97 kB / 465.5 MB, free: 5.098 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.003248/0.6109, allocations: 1.496 MB / 467 MB, free: 3.586 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6109, allocations: 0 / 467 MB, free: 3.586 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003632/0.6146, allocations: 0.7838 MB / 467.8 MB, free: 2.812 MB / 350.1 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 (197): * Single equations (assignments): 191 * 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%) 8} * Non-linear torn systems: 1 {2 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009122/0.6155, allocations: 333.8 kB / 468.1 MB, free: 2.512 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.007007/0.6225, allocations: 3.713 MB / 471.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.6225, allocations: 0 / 471.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003788/0.6263, allocations: 2.274 MB / 474.1 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003133/0.6295, allocations: 0.5772 MB / 474.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01382/0.6433, allocations: 8.421 MB / 483.1 MB, free: 3.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00255/0.6459, allocations: 2.443 MB / 485.5 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.002706/0.6487, allocations: 0.595 MB / 486.1 MB, free: 268 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006498/0.6493, allocations: 195.4 kB / 486.3 MB, free: 72 kB / 366.1 MB Notification: Performance of SimCode: time 9.82e-07/0.6494, allocations: 3.938 kB / 486.3 MB, free: 68 kB / 366.1 MB Notification: Performance of Templates: time 0.07857/0.7279, allocations: 39.81 MB / 0.5138 GB, free: 8.195 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/ActuatorWithNoise/ActuatorWithNoise.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches