Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001155/0.001155, allocations: 178.9 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.701/1.701, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000779/0.0007792, allocations: 90.31 kB / 270.9 MB, free: 8.344 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003075/0.0003076, allocations: 16 kB / 327 MB, free: 180 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2084, allocations: 47.57 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise): time 0.009763/0.2182, allocations: 11.96 MB / 386.5 MB, free: 36.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008034/0.2262, allocations: 4.935 MB / 391.5 MB, free: 31.89 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00135/0.2276, allocations: 67.62 kB / 391.5 MB, free: 31.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001355/0.229, allocations: 0.7298 MB / 392.3 MB, free: 31.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001938/0.2309, allocations: 0.936 MB / 393.2 MB, free: 30.15 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001412/0.2323, allocations: 0.6045 MB / 393.8 MB, free: 29.54 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002834/0.2352, allocations: 4.1 MB / 397.9 MB, free: 25.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001885/0.2371, allocations: 2.126 MB / 400 MB, free: 23.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001412/0.2385, allocations: 1.342 MB / 401.4 MB, free: 21.92 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001494/0.24, allocations: 1.806 MB / 403.2 MB, free: 20.11 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003013/0.2403, allocations: 208 kB / 403.4 MB, free: 19.9 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008927/0.2412, allocations: 467.5 kB / 403.8 MB, free: 19.45 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006265/0.2419, allocations: 0.9774 MB / 404.8 MB, free: 18.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000503/0.2424, allocations: 0.7537 MB / 405.6 MB, free: 17.7 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003326/0.2457, allocations: 6.085 MB / 411.6 MB, free: 11.6 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2457, allocations: 0 / 411.6 MB, free: 11.6 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.2457, allocations: 0 / 411.6 MB, free: 11.6 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.65e-05/0.2458, allocations: 0 / 411.6 MB, free: 11.6 MB / 298.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.006166/0.252, allocations: 3.689 MB / 415.3 MB, free: 7.844 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.252, allocations: 8.031 kB / 415.3 MB, free: 7.836 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/0.2531, allocations: 447.2 kB / 415.8 MB, free: 7.395 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002847/0.2559, allocations: 2.211 MB / 418 MB, free: 5.133 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005752/0.2565, allocations: 419.2 kB / 418.4 MB, free: 4.703 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003701/0.2569, allocations: 319.8 kB / 418.7 MB, free: 4.391 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006214/0.2631, allocations: 4.25 MB / 423 MB, free: 72 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.899e-05/0.2632, allocations: 15.89 kB / 423 MB, free: 56 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002887/0.2635, allocations: 124 kB / 423.1 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001523/0.2637, allocations: 154.1 kB / 423.2 MB, free: 15.78 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007175/0.2709, allocations: 3.846 MB / 427.1 MB, free: 11.92 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02179/0.2927, allocations: 14.23 MB / 441.3 MB, free: 13.31 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003222/0.2959, allocations: 2.158 MB / 443.5 MB, free: 11.08 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002181/0.2982, allocations: 1.314 MB / 444.8 MB, free: 9.762 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003122/0.2985, allocations: 228.1 kB / 445 MB, free: 9.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002132/0.3006, allocations: 1.316 MB / 446.3 MB, free: 8.16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=186): time 3.256e-06/0.3007, allocations: 4 kB / 446.3 MB, free: 8.156 MB / 330.7 MB Notification: Performance of matching and sorting (n=234): time 0.02755/0.3282, allocations: 12.99 MB / 459.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003584/0.3318, allocations: 3.264 MB / 462.6 MB, free: 7.602 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003335/0.3352, allocations: 2.264 MB / 464.9 MB, free: 5.309 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003317/0.3355, allocations: 81.69 kB / 464.9 MB, free: 5.223 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001203/0.3368, allocations: 1.493 MB / 466.4 MB, free: 3.711 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007198/0.3375, allocations: 0.7857 MB / 467.2 MB, free: 2.914 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.3376, allocations: 52 kB / 467.3 MB, free: 2.863 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.3378, allocations: 411.4 kB / 467.7 MB, free: 2.457 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002149/0.34, allocations: 1.286 MB / 469 MB, free: 1.168 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002508/0.3425, allocations: 1.937 MB / 470.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002399/0.3449, allocations: 1.553 MB / 472.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.368e-06/0.3449, allocations: 7.938 kB / 472.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=339) (initialization): time 0.006521/0.3515, allocations: 3.881 MB / 476.3 MB, free: 9.438 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.396e-05/0.3515, allocations: 12 kB / 476.3 MB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-05/0.3515, allocations: 16 kB / 476.4 MB, free: 9.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001268/0.3528, allocations: 0.5082 MB / 476.9 MB, free: 8.891 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002481/0.3553, allocations: 0.6669 MB / 477.5 MB, free: 8.223 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005403/0.3607, allocations: 4.651 MB / 482.2 MB, free: 3.305 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002165/0.3629, allocations: 203.8 kB / 482.4 MB, free: 3.105 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002084/0.3631, allocations: 104 kB / 482.5 MB, free: 3.004 MB / 362.7 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.002107/0.3653, allocations: 1.094 MB / 483.6 MB, free: 1.898 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004757/0.3657, allocations: 252.8 kB / 483.8 MB, free: 1.648 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006517/0.3723, allocations: 3.655 MB / 487.5 MB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.811e-05/0.3723, allocations: 24 kB / 487.5 MB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.3723, allocations: 4 kB / 487.5 MB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.035e-05/0.3723, allocations: 11.95 kB / 487.5 MB, free: 13.93 MB / 378.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.01561/0.388, allocations: 9.392 MB / 496.9 MB, free: 4.387 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/0.388, allocations: 0 / 496.9 MB, free: 4.387 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001805/0.3898, allocations: 435.6 kB / 497.3 MB, free: 3.961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001643/0.3915, allocations: 0.6301 MB / 498 MB, free: 3.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001439/0.3916, allocations: 47.97 kB / 498 MB, free: 3.273 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1732/0.5648, allocations: 7.471 MB / 0.4936 GB, free: 103.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003474/0.5683, allocations: 3.016 MB / 0.4966 GB, free: 101.6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009596/0.5779, allocations: 5.433 MB / 0.5019 GB, free: 99.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00148/0.5794, allocations: 0.6372 MB / 0.5025 GB, free: 99.17 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003351/0.5798, allocations: 51.44 kB / 0.5026 GB, free: 99.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001457/0.5813, allocations: 160.5 kB / 0.5027 GB, free: 99.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004165/0.5817, allocations: 191.7 kB / 0.5029 GB, free: 99.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001459/0.5818, allocations: 68.81 kB / 0.503 GB, free: 99.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002328/0.5842, allocations: 1.546 MB / 0.5045 GB, free: 98.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5842, allocations: 0 / 0.5045 GB, free: 98.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002207/0.5864, allocations: 0.7827 MB / 0.5052 GB, free: 98.37 MB / 378.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 (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.0007083/0.5871, allocations: 338.5 kB / 0.5056 GB, free: 98.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005016/0.5921, allocations: 3.706 MB / 0.5092 GB, free: 96.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.5922, allocations: 7.578 kB / 0.5092 GB, free: 96.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003049/0.5952, allocations: 2.26 MB / 0.5114 GB, free: 94.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002591/0.5978, allocations: 0.6102 MB / 0.512 GB, free: 94.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.6081, allocations: 8.522 MB / 0.5203 GB, free: 85.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0016/0.6097, allocations: 2.365 MB / 0.5226 GB, free: 83.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008567/0.6106, allocations: 215.4 kB / 0.5228 GB, free: 83.18 MB / 378.7 MB Notification: Performance of SimCode: time 6.71e-07/0.6106, allocations: 0 / 0.5228 GB, free: 83.18 MB / 378.7 MB Notification: Performance of Templates: time 0.1013/0.712, allocations: 115 MB / 0.6352 GB, free: 15.91 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches