Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.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.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedFeed_x.v|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleFeed_x.v|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedFeed_x.v|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleFeed_x.v|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 83.55 kB / 17.58 MB, free: 5.797 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.001243/0.001243, allocations: 190 kB / 18.48 MB, free: 5.25 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.747/1.747, allocations: 205.4 MB / 224.6 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.000439/0.000439, allocations: 8 kB / 281.4 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1217, allocations: 47.59 MB / 329 MB, free: 4.074 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.01044/0.1322, allocations: 9.641 MB / 338.6 MB, free: 10.39 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007716/0.14, allocations: 3.091 MB / 341.7 MB, free: 7.289 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001651/0.1417, allocations: 39.81 kB / 341.8 MB, free: 7.25 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001193/0.1429, allocations: 0.5638 MB / 342.3 MB, free: 6.684 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002142/0.145, allocations: 0.7569 MB / 343.1 MB, free: 5.922 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001812/0.1469, allocations: 0.5538 MB / 343.6 MB, free: 5.367 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003635/0.1505, allocations: 3.01 MB / 346.6 MB, free: 2.352 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00113/0.1517, allocations: 0.6917 MB / 347.3 MB, free: 1.637 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001795/0.1535, allocations: 1.02 MB / 348.4 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001495/0.155, allocations: 1.237 MB / 349.6 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002402/0.1552, allocations: 140 kB / 349.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004388/0.1557, allocations: 168 kB / 349.9 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004337/0.1561, allocations: 493.9 kB / 350.4 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005421/0.1567, allocations: 0.5198 MB / 350.9 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002976/0.1596, allocations: 3.33 MB / 354.2 MB, free: 10.72 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.1597, allocations: 0 / 354.2 MB, free: 10.72 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1597, allocations: 0 / 354.2 MB, free: 10.72 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.254e-05/0.1597, allocations: 0 / 354.2 MB, free: 10.72 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: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.006184/0.1659, allocations: 2.745 MB / 357 MB, free: 7.906 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.166, allocations: 8.031 kB / 357 MB, free: 7.898 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005044/0.1665, allocations: 296.4 kB / 357.3 MB, free: 7.605 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002297/0.1688, allocations: 1.321 MB / 358.6 MB, free: 6.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/0.1689, allocations: 156.1 kB / 358.7 MB, free: 6.074 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002812/0.1692, allocations: 207.9 kB / 358.9 MB, free: 5.871 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003794/0.173, allocations: 1.905 MB / 360.8 MB, free: 3.91 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.411e-05/0.1731, allocations: 0 / 360.8 MB, free: 3.91 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001727/0.1733, allocations: 84 kB / 360.9 MB, free: 3.828 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.025e-05/0.1733, allocations: 48 kB / 361 MB, free: 3.781 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003834/0.1772, allocations: 1.961 MB / 362.9 MB, free: 1.805 MB / 302.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 preOpt removeSimpleEquations (simulation): time 0.0124/0.1896, allocations: 7.484 MB / 370.4 MB, free: 10.04 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003565/0.1932, allocations: 2.293 MB / 372.7 MB, free: 7.699 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002474/0.1957, allocations: 1.374 MB / 374.1 MB, free: 6.324 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001395/0.1958, allocations: 41.95 kB / 374.1 MB, free: 6.281 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.322e-05/0.1959, allocations: 56.56 kB / 374.2 MB, free: 6.219 MB / 318.1 MB Notification: Performance of pre-optimization done (n=234): time 4.899e-06/0.1959, allocations: 0 / 374.2 MB, free: 6.219 MB / 318.1 MB Notification: Performance of matching and sorting (n=351): time 0.2909/0.4868, allocations: 17.79 MB / 392 MB, free: 46.53 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.557e-05/0.4869, allocations: 88.27 kB / 392.1 MB, free: 46.46 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00362/0.4906, allocations: 1.83 MB / 393.9 MB, free: 45.78 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002969/0.4909, allocations: 81.61 kB / 394 MB, free: 45.71 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007555/0.4916, allocations: 0.9814 MB / 395 MB, free: 44.94 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009083/0.4926, allocations: 1.157 MB / 396.1 MB, free: 44.02 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.4927, allocations: 64.81 kB / 396.2 MB, free: 43.97 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.4929, allocations: 427 kB / 396.6 MB, free: 43.61 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002131/0.495, allocations: 1.231 MB / 397.8 MB, free: 43.1 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00219/0.4972, allocations: 1.546 MB / 399.4 MB, free: 42.35 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002337/0.4996, allocations: 1.41 MB / 400.8 MB, free: 41.62 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.4996, allocations: 4.797 kB / 400.8 MB, free: 41.62 MB / 318.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.008776/0.5084, allocations: 4.471 MB / 405.3 MB, free: 38.52 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/0.5085, allocations: 8 kB / 405.3 MB, free: 38.51 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.059e-05/0.5085, allocations: 7.938 kB / 405.3 MB, free: 38.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004482/0.513, allocations: 1.322 MB / 406.6 MB, free: 37.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002551/0.5155, allocations: 0.5461 MB / 407.1 MB, free: 36.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02014/0.5357, allocations: 18.85 MB / 426 MB, free: 16.86 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002824/0.5386, allocations: 124 kB / 426.1 MB, free: 16.74 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002159/0.5388, allocations: 99.98 kB / 426.2 MB, free: 16.64 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (298): * Single equations (assignments): 291 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 4,(1,100.0%) 5} * Non-linear torn systems: 2 {3 50,2 43} Notification: Performance of prepare postOptimizeDAE: time 0.001343/0.5401, allocations: 0.5755 MB / 426.8 MB, free: 16.06 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004488/0.5406, allocations: 252.9 kB / 427 MB, free: 15.81 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008647/0.5493, allocations: 4.433 MB / 431.5 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.49e-05/0.5493, allocations: 36 kB / 431.5 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.5493, allocations: 7.953 kB / 431.5 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.676e-05/0.5494, allocations: 15.94 kB / 431.5 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01372/0.5631, allocations: 8.432 MB / 440 MB, free: 2.727 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.266e-05/0.5632, allocations: 3.953 kB / 440 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002027/0.5652, allocations: 471.6 kB / 440.4 MB, free: 2.262 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004142/0.5694, allocations: 1.271 MB / 441.7 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002128/0.5696, allocations: 67.16 kB / 441.8 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02247/0.5921, allocations: 17.5 MB / 459.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.5921, allocations: 4 kB / 459.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01344/0.6056, allocations: 6.147 MB / 465.4 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001763/0.6074, allocations: 0.6148 MB / 466 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003247/0.6077, allocations: 64 kB / 466.1 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001531/0.6093, allocations: 123.9 kB / 466.2 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000777/0.6101, allocations: 254.8 kB / 466.5 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001888/0.6103, allocations: 95.97 kB / 466.5 MB, free: 7.059 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002031/0.6123, allocations: 1.27 MB / 467.8 MB, free: 5.797 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6123, allocations: 0 / 467.8 MB, free: 5.797 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003662/0.616, allocations: 0.8711 MB / 468.7 MB, free: 4.926 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (advancedSolenoid.coil1.i,advancedSolenoid.coil2.i,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,advancedFeed_x.s,advancedFeed_x.v,simpleSolenoid.coil.i,simpleFeed_x.s,simpleFeed_x.v) * Number of discrete variables: 4 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (243): * Single equations (assignments): 236 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 5} * Non-linear torn systems: 2 {3 41,3 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.001211/0.6172, allocations: 440.2 kB / 469.1 MB, free: 4.512 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.008074/0.6253, allocations: 4.477 MB / 473.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/0.6253, allocations: 0 / 473.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00501/0.6303, allocations: 2.98 MB / 476.6 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00242/0.6328, allocations: 369.7 kB / 476.9 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.6436, allocations: 6.742 MB / 483.7 MB, free: 5.668 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00161/0.6452, allocations: 1.709 MB / 485.4 MB, free: 3.926 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001341/0.6466, allocations: 175.4 kB / 485.6 MB, free: 3.758 MB / 366.1 MB Notification: Performance of SimCode: time 1.393e-06/0.6466, allocations: 0 / 485.6 MB, free: 3.758 MB / 366.1 MB Notification: Performance of Templates: time 0.3391/0.9858, allocations: 118.3 MB / 0.5897 GB, free: 82.31 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.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.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationaryCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationaryCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationaryCalcHelperMain.o] Error 1