Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.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.Mechanics.Rotational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") translateModel(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001013/0.001013, allocations: 92.11 kB / 17.63 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001243/0.001243, allocations: 192.5 kB / 18.54 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.779/1.779, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002532/0.0002532, allocations: 8 kB / 307.3 MB, free: 1.609 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.137, allocations: 51.49 MB / 358.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.005873/0.1429, allocations: 4.683 MB / 363.5 MB, free: 9.422 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004305/0.1473, allocations: 1.971 MB / 365.4 MB, free: 7.441 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.1483, allocations: 31.81 kB / 365.5 MB, free: 7.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004316/0.1488, allocations: 142.8 kB / 365.6 MB, free: 7.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004697/0.1493, allocations: 142.8 kB / 365.8 MB, free: 7.129 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008712/0.1501, allocations: 255.4 kB / 366 MB, free: 6.879 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009601/0.1511, allocations: 0.9071 MB / 366.9 MB, free: 5.965 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006853/0.1518, allocations: 421.5 kB / 367.3 MB, free: 5.535 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003451/0.1522, allocations: 235 kB / 367.6 MB, free: 5.305 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000333/0.1525, allocations: 262.6 kB / 367.8 MB, free: 5.047 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.844e-05/0.1526, allocations: 32 kB / 367.8 MB, free: 5.016 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002114/0.1528, allocations: 87.97 kB / 367.9 MB, free: 4.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.1529, allocations: 119.5 kB / 368 MB, free: 4.812 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.1531, allocations: 173.3 kB / 368.2 MB, free: 4.637 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008178/0.1539, allocations: 0.8922 MB / 369.1 MB, free: 3.742 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1539, allocations: 0 / 369.1 MB, free: 3.742 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1539, allocations: 0 / 369.1 MB, free: 3.742 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.1539, allocations: 0 / 369.1 MB, free: 3.742 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001301/0.1553, allocations: 0.8891 MB / 370 MB, free: 2.801 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.1553, allocations: 8.031 kB / 370 MB, free: 2.793 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002682/0.1556, allocations: 94.97 kB / 370.1 MB, free: 2.699 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006538/0.1562, allocations: 0.4936 MB / 370.6 MB, free: 2.168 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.835e-05/0.1563, allocations: 62 kB / 370.6 MB, free: 2.109 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.1564, allocations: 87.91 kB / 370.7 MB, free: 2.023 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.1579, allocations: 0.8005 MB / 371.5 MB, free: 1.184 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.532e-05/0.1579, allocations: 15.92 kB / 371.5 MB, free: 1.168 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.315e-05/0.158, allocations: 36 kB / 371.6 MB, free: 1.133 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.09e-05/0.158, allocations: 20 kB / 371.6 MB, free: 1.113 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009427/0.159, allocations: 499.6 kB / 372.1 MB, free: 0.625 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2364/0.3954, allocations: 2.904 MB / 375 MB, free: 18.04 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008467/0.3963, allocations: 220.2 kB / 375.2 MB, free: 18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002456/0.3966, allocations: 105.2 kB / 375.3 MB, free: 17.99 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002355/0.3968, allocations: 248.5 kB / 375.6 MB, free: 17.71 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.3969, allocations: 37.34 kB / 375.6 MB, free: 17.67 MB / 302.1 MB Notification: Performance of pre-optimization done (n=30): time 2.245e-06/0.3969, allocations: 0 / 375.6 MB, free: 17.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002916/0.3998, allocations: 1.264 MB / 376.9 MB, free: 17.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.3999, allocations: 55.89 kB / 376.9 MB, free: 17 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004946/0.4004, allocations: 304.8 kB / 377.2 MB, free: 16.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.4004, allocations: 31.55 kB / 377.2 MB, free: 16.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003004/0.4007, allocations: 395 kB / 377.6 MB, free: 16.62 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.4009, allocations: 138 kB / 377.8 MB, free: 16.53 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-05/0.4009, allocations: 11.59 kB / 377.8 MB, free: 16.52 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.401, allocations: 353.9 kB / 378.1 MB, free: 16.19 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002235/0.4012, allocations: 107.2 kB / 378.2 MB, free: 16.15 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002978/0.4015, allocations: 251.8 kB / 378.5 MB, free: 15.94 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002823/0.4018, allocations: 153.4 kB / 378.6 MB, free: 15.87 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.4018, allocations: 2.172 kB / 378.6 MB, free: 15.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007802/0.4026, allocations: 454.2 kB / 379.1 MB, free: 15.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.4027, allocations: 7.484 kB / 379.1 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.4027, allocations: 4.125 kB / 379.1 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002116/0.4029, allocations: 44.53 kB / 379.1 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003784/0.4033, allocations: 111.4 kB / 379.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003428/0.4037, allocations: 0.5553 MB / 379.8 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002442/0.4039, allocations: 17.42 kB / 379.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.455e-05/0.404, allocations: 21.06 kB / 379.8 MB, free: 15.09 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003372/0.4043, allocations: 218.6 kB / 380 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.312e-05/0.4044, allocations: 38.47 kB / 380.1 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006303/0.405, allocations: 336.2 kB / 380.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.4051, allocations: 3.875 kB / 380.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.4051, allocations: 0.5625 kB / 380.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.4051, allocations: 2.844 kB / 380.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/0.4067, allocations: 1.03 MB / 381.4 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.4068, allocations: 4.844 kB / 381.4 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003584/0.4071, allocations: 78.09 kB / 381.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001293/0.4073, allocations: 38.62 kB / 381.6 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.178e-05/0.4073, allocations: 9.672 kB / 381.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002405/0.4076, allocations: 0.5488 MB / 382.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.4076, allocations: 3.062 kB / 382.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008004/0.4084, allocations: 0.5437 MB / 382.7 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.968e-05/0.4085, allocations: 116.1 kB / 382.8 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.763e-05/0.4086, allocations: 9.328 kB / 382.8 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.4087, allocations: 11.94 kB / 382.8 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.498e-05/0.4088, allocations: 20.55 kB / 382.8 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.939e-05/0.4088, allocations: 18.67 kB / 382.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002518/0.4091, allocations: 209.6 kB / 383 MB, free: 12.93 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4091, allocations: 0 / 383 MB, free: 12.93 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006374/0.4097, allocations: 121.4 kB / 383.2 MB, free: 12.92 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (directInertia.inertia.w,directInertia.torqueToAngle.phi,inertia2a.w,torqueToAngle2a.phi,inertia2b.w,torqueToAngle2b.phi,inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.000191/0.4099, allocations: 123.7 kB / 383.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006562/0.4106, allocations: 309.3 kB / 383.6 MB, free: 12.72 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4106, allocations: 1.859 kB / 383.6 MB, free: 12.72 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002823/0.4109, allocations: 136.7 kB / 383.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005301/0.4115, allocations: 60.91 kB / 383.8 MB, free: 12.65 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002899/0.4144, allocations: 2.061 MB / 385.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005517/0.4149, allocations: 0.9197 MB / 386.8 MB, free: 10.49 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.415, allocations: 35.28 kB / 386.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of SimCode: time 4.4e-07/0.415, allocations: 0 / 386.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of Templates: time 0.02052/0.4356, allocations: 9.614 MB / 396.4 MB, free: 6.484 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.makefile make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.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.Mechanics.Rotational.Examples.GenerationOfFMUsCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUsCalcHelperMain.o] Error 1