Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.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 trunk/package.mo", uses=false) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_Modelica.Blocks.Examples.Noise.ActuatorWithNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001078/0.001078, allocations: 94.06 kB / 17.63 MB, free: 6.141 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001512/0.001512, allocations: 197.5 kB / 18.54 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 227.3 MB / 246.6 MB, free: 10.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000243/0.0002431, allocations: 8 kB / 307.3 MB, free: 1.391 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1333, allocations: 51.49 MB / 358.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ActuatorWithNoise): time 0.01442/0.1477, allocations: 12.13 MB / 370.9 MB, free: 1.734 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.3047/0.4525, allocations: 5.048 MB / 376 MB, free: 9.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003651/0.4563, allocations: 72.28 kB / 376 MB, free: 9.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003859/0.4601, allocations: 0.7502 MB / 376.8 MB, free: 9.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005555/0.4657, allocations: 0.952 MB / 377.7 MB, free: 9.129 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom‘ contains a call to impure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState‘. Notification: Performance of NFTyping.typeClassSections: time 0.002981/0.4687, allocations: 0.5979 MB / 378.3 MB, free: 9.094 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009082/0.4778, allocations: 4.121 MB / 382.5 MB, free: 8.242 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004402/0.4823, allocations: 2.18 MB / 384.6 MB, free: 7.832 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005101/0.4874, allocations: 1.372 MB / 386 MB, free: 7.539 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005653/0.4931, allocations: 1.829 MB / 387.8 MB, free: 7.195 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001695/0.4948, allocations: 206.6 kB / 388.1 MB, free: 7.195 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003068/0.4979, allocations: 460 kB / 388.5 MB, free: 7.176 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001589/0.4995, allocations: 0.9791 MB / 389.5 MB, free: 7.039 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002384/0.5019, allocations: 0.7604 MB / 390.2 MB, free: 6.695 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008489/0.5104, allocations: 6.14 MB / 396.4 MB, free: 2.348 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.5105, allocations: 4 kB / 396.4 MB, free: 2.344 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.927e-06/0.5105, allocations: 1.594 kB / 396.4 MB, free: 2.344 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002514/0.5107, allocations: 0 / 396.4 MB, free: 2.344 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.01249/0.5232, allocations: 3.72 MB / 400.1 MB, free: 15.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.5233, allocations: 8.219 kB / 400.1 MB, free: 15.93 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002815/0.5261, allocations: 457.9 kB / 400.6 MB, free: 15.71 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005598/0.5317, allocations: 2.337 MB / 402.9 MB, free: 14.05 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007413/0.5325, allocations: 420.9 kB / 403.3 MB, free: 13.81 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000932/0.5335, allocations: 323.6 kB / 403.6 MB, free: 13.7 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01012/0.5436, allocations: 4.27 MB / 407.9 MB, free: 9.953 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.583e-05/0.5437, allocations: 7.906 kB / 407.9 MB, free: 9.945 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003369/0.5441, allocations: 128 kB / 408 MB, free: 9.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001772/0.5442, allocations: 154.1 kB / 408.2 MB, free: 9.668 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008542/0.5528, allocations: 3.85 MB / 412 MB, free: 5.809 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03059/0.5834, allocations: 14.26 MB / 426.3 MB, free: 7.289 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003926/0.5874, allocations: 2.166 MB / 428.5 MB, free: 5.043 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002385/0.5898, allocations: 1.314 MB / 429.8 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004217/0.5903, allocations: 221.4 kB / 430 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002355/0.5926, allocations: 1.322 MB / 431.3 MB, free: 2.141 MB / 334.1 MB Notification: Performance of pre-optimization done (n=186): time 3.977e-06/0.5927, allocations: 0 / 431.3 MB, free: 2.141 MB / 334.1 MB Notification: Performance of matching and sorting (n=234): time 0.03075/0.6234, allocations: 13.01 MB / 444.3 MB, free: 5.039 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003862/0.6273, allocations: 3.255 MB / 447.6 MB, free: 1.602 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004018/0.6314, allocations: 2.3 MB / 449.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005012/0.6319, allocations: 81.69 kB / 450 MB, free: 15.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00142/0.6333, allocations: 1.493 MB / 451.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009028/0.6342, allocations: 0.7859 MB / 452.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/0.6344, allocations: 56 kB / 452.3 MB, free: 12.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.6346, allocations: 407.4 kB / 452.7 MB, free: 12.44 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00222/0.6368, allocations: 1.29 MB / 454 MB, free: 11.15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002584/0.6394, allocations: 1.933 MB / 455.9 MB, free: 8.953 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002461/0.6419, allocations: 1.545 MB / 457.5 MB, free: 7.387 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/0.6419, allocations: 8 kB / 457.5 MB, free: 7.379 MB / 366.1 MB Notification: Performance of matching and sorting (n=339) (initialization): time 0.006965/0.6489, allocations: 3.879 MB / 461.3 MB, free: 3.438 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.368e-05/0.649, allocations: 12 kB / 461.4 MB, free: 3.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.181e-05/0.649, allocations: 20 kB / 461.4 MB, free: 3.406 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001629/0.6506, allocations: 0.5432 MB / 461.9 MB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003213/0.6539, allocations: 0.6825 MB / 462.6 MB, free: 2.168 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006277/0.6602, allocations: 4.648 MB / 467.2 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002923/0.6631, allocations: 203.8 kB / 467.4 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003169/0.6635, allocations: 112 kB / 467.6 MB, free: 12.95 MB / 382.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.00266/0.6661, allocations: 1.093 MB / 468.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007389/0.6669, allocations: 260.8 kB / 468.9 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007131/0.674, allocations: 3.659 MB / 472.6 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.022e-05/0.6741, allocations: 24 kB / 472.6 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.6741, allocations: 0 / 472.6 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.226e-05/0.6741, allocations: 15.91 kB / 472.6 MB, free: 7.855 MB / 382.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.01721/0.6913, allocations: 9.462 MB / 482.1 MB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.6914, allocations: 0 / 482.1 MB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001812/0.6932, allocations: 435.6 kB / 482.5 MB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001752/0.695, allocations: 0.6766 MB / 483.2 MB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001839/0.6952, allocations: 55.97 kB / 483.2 MB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009921/0.7051, allocations: 7.488 MB / 490.7 MB, free: 5.262 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003491/0.7086, allocations: 3.028 MB / 493.7 MB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009822/0.7185, allocations: 5.415 MB / 499.1 MB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001639/0.7201, allocations: 0.6538 MB / 499.8 MB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004197/0.7206, allocations: 48 kB / 499.8 MB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/0.722, allocations: 163.8 kB / 0.4883 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004797/0.7225, allocations: 201.6 kB / 0.4885 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001434/0.7226, allocations: 67.97 kB / 0.4885 GB, free: 11.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002584/0.7252, allocations: 1.551 MB / 0.4901 GB, free: 9.918 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7252, allocations: 4 kB / 0.4901 GB, free: 9.914 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002906/0.7281, allocations: 0.7748 MB / 0.4908 GB, free: 9.141 MB / 414.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.001316/0.7295, allocations: 0.5476 MB / 0.4914 GB, free: 8.746 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006545/0.736, allocations: 3.703 MB / 0.495 GB, free: 4.969 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.248e-05/0.7361, allocations: 0 / 0.495 GB, free: 4.969 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004159/0.7402, allocations: 2.273 MB / 0.4972 GB, free: 2.637 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003936/0.7442, allocations: 0.6181 MB / 0.4978 GB, free: 2.031 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01403/0.7582, allocations: 8.543 MB / 0.5061 GB, free: 9.426 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002145/0.7604, allocations: 2.37 MB / 0.5085 GB, free: 7.02 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001169/0.7616, allocations: 227.3 kB / 0.5087 GB, free: 6.797 MB / 430.1 MB Notification: Performance of SimCode: time 7.01e-07/0.7616, allocations: 0 / 0.5087 GB, free: 6.797 MB / 430.1 MB Notification: Performance of Templates: time 0.3291/1.091, allocations: 115.9 MB / 0.6218 GB, free: 69.3 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.makefile make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_Modelica.Blocks.Examples.Noise.ActuatorWithNoiseCalcHelperMain.o OMCppModelica_trunk_Modelica.Blocks.Examples.Noise.ActuatorWithNoiseCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Blocks.Examples.Noise.ActuatorWithNoiseCalcHelperMain.o] Error 1