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.0007348/0.0007347, allocations: 92.72 kB / 17.58 MB, free: 6.168 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.0007537/0.0007537, allocations: 184.1 kB / 18.47 MB, free: 5.336 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.725/1.725, allocations: 205.4 MB / 224.6 MB, free: 13.15 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.0004863/0.0004863, allocations: 8 kB / 281.4 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1222, allocations: 47.58 MB / 329 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise): time 0.01349/0.1358, allocations: 11.97 MB / 341 MB, free: 8.066 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01116/0.147, allocations: 4.932 MB / 345.9 MB, free: 3.121 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002797/0.1498, allocations: 63.69 kB / 345.9 MB, free: 3.059 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002458/0.1523, allocations: 0.7375 MB / 346.7 MB, free: 2.316 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003449/0.1558, allocations: 0.9395 MB / 347.6 MB, free: 1.375 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002027/0.1578, allocations: 0.62 MB / 348.2 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00522/0.163, allocations: 4.085 MB / 352.3 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002795/0.1659, allocations: 2.129 MB / 354.5 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002501/0.1684, allocations: 1.346 MB / 355.8 MB, free: 9.133 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002364/0.1707, allocations: 1.802 MB / 357.6 MB, free: 7.324 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003625/0.1711, allocations: 208 kB / 357.8 MB, free: 7.121 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001188/0.1723, allocations: 463.6 kB / 358.3 MB, free: 6.668 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001029/0.1734, allocations: 0.9774 MB / 359.2 MB, free: 5.688 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009081/0.1743, allocations: 0.7576 MB / 360 MB, free: 4.922 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005694/0.18, allocations: 6.081 MB / 366.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.18, allocations: 0 / 366.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.18, allocations: 3.938 kB / 366.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001352/0.1802, allocations: 0 / 366.1 MB, free: 14.82 MB / 318.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.008386/0.1885, allocations: 3.674 MB / 369.8 MB, free: 11.08 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.1886, allocations: 16.03 kB / 369.8 MB, free: 11.06 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001355/0.19, allocations: 451.2 kB / 370.2 MB, free: 10.62 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003776/0.1938, allocations: 2.211 MB / 372.4 MB, free: 8.355 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006486/0.1944, allocations: 423.2 kB / 372.8 MB, free: 7.922 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000473/0.1949, allocations: 315.9 kB / 373.1 MB, free: 7.613 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00785/0.2028, allocations: 4.242 MB / 377.4 MB, free: 3.301 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.858e-05/0.2029, allocations: 7.906 kB / 377.4 MB, free: 3.293 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002917/0.2032, allocations: 135.9 kB / 377.5 MB, free: 3.16 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001495/0.2033, allocations: 146.1 kB / 377.7 MB, free: 3.016 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2464/0.4498, allocations: 3.849 MB / 381.5 MB, free: 47.07 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02898/0.4788, allocations: 14.23 MB / 395.7 MB, free: 39.33 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003369/0.4822, allocations: 2.173 MB / 397.9 MB, free: 38.02 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002154/0.4844, allocations: 1.309 MB / 399.2 MB, free: 37.38 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003011/0.4847, allocations: 214.6 kB / 399.4 MB, free: 37.18 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002207/0.4869, allocations: 1.321 MB / 400.8 MB, free: 36.4 MB / 318.1 MB Notification: Performance of pre-optimization done (n=186): time 4.167e-06/0.487, allocations: 0 / 400.8 MB, free: 36.4 MB / 318.1 MB Notification: Performance of matching and sorting (n=234): time 0.02458/0.5115, allocations: 13 MB / 413.8 MB, free: 27.1 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003032/0.5146, allocations: 3.254 MB / 417 MB, free: 23.67 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00314/0.5178, allocations: 2.272 MB / 419.3 MB, free: 21.37 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000343/0.5182, allocations: 73.7 kB / 419.4 MB, free: 21.29 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001057/0.5192, allocations: 1.497 MB / 420.8 MB, free: 19.78 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005788/0.5198, allocations: 0.7882 MB / 421.6 MB, free: 19 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.52, allocations: 52 kB / 421.7 MB, free: 18.95 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.5201, allocations: 411.4 kB / 422.1 MB, free: 18.54 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001834/0.5219, allocations: 1.29 MB / 423.4 MB, free: 17.25 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002043/0.524, allocations: 1.941 MB / 425.3 MB, free: 15.05 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002027/0.526, allocations: 1.545 MB / 426.9 MB, free: 13.48 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.388e-06/0.526, allocations: 7.938 kB / 426.9 MB, free: 13.47 MB / 318.1 MB Notification: Performance of matching and sorting (n=339) (initialization): time 0.005617/0.5317, allocations: 3.887 MB / 430.8 MB, free: 9.523 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.5317, allocations: 12 kB / 430.8 MB, free: 9.512 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.856e-05/0.5317, allocations: 20 kB / 430.8 MB, free: 9.492 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001118/0.5329, allocations: 0.5001 MB / 431.3 MB, free: 8.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00222/0.5351, allocations: 0.6591 MB / 432 MB, free: 8.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00429/0.5394, allocations: 4.658 MB / 436.6 MB, free: 3.387 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002139/0.5416, allocations: 203.8 kB / 436.8 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001846/0.5418, allocations: 108 kB / 436.9 MB, free: 3.082 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.001865/0.5436, allocations: 1.086 MB / 438 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004442/0.5441, allocations: 264.8 kB / 438.3 MB, free: 1.723 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006022/0.5501, allocations: 3.651 MB / 441.9 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/0.5502, allocations: 24 kB / 441.9 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.046e-06/0.5502, allocations: 8 kB / 441.9 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.176e-05/0.5502, allocations: 11.95 kB / 442 MB, free: 13.99 MB / 334.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.01537/0.5656, allocations: 9.394 MB / 451.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.415e-06/0.5656, allocations: 0 / 451.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001669/0.5673, allocations: 428 kB / 451.8 MB, free: 4.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001469/0.5688, allocations: 0.6337 MB / 452.4 MB, free: 3.445 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001517/0.5689, allocations: 51.97 kB / 452.4 MB, free: 3.395 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008562/0.5775, allocations: 7.48 MB / 459.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003499/0.581, allocations: 3.014 MB / 462.9 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009536/0.5906, allocations: 5.423 MB / 468.4 MB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001719/0.5924, allocations: 0.6343 MB / 469 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004107/0.5928, allocations: 55.94 kB / 469.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/0.5941, allocations: 167.8 kB / 469.2 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004435/0.5946, allocations: 193.6 kB / 469.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001342/0.5947, allocations: 67.97 kB / 469.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002519/0.5972, allocations: 1.539 MB / 471 MB, free: 220 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5972, allocations: 0 / 471 MB, free: 220 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.002828/0.6001, allocations: 0.7857 MB / 471.8 MB, free: 15.43 MB / 366.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.0007786/0.6009, allocations: 325.1 kB / 472.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006023/0.6069, allocations: 3.703 MB / 475.8 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/0.6069, allocations: 0 / 475.8 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003416/0.6103, allocations: 2.274 MB / 478.1 MB, free: 9.039 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002809/0.6132, allocations: 0.6162 MB / 478.7 MB, free: 8.418 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01223/0.6254, allocations: 8.523 MB / 487.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002019/0.6275, allocations: 2.354 MB / 489.6 MB, free: 13.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001003/0.6285, allocations: 219.3 kB / 489.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of SimCode: time 1.462e-06/0.6285, allocations: 0 / 489.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of Templates: time 0.3132/0.9417, allocations: 115 MB / 0.5906 GB, free: 110.2 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.makefile make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoiseCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoiseCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoiseCalcHelperMain.o] Error 1