Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.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.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator") translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 96.25 kB / 17.95 MB, free: 5.746 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.002479/0.002479, allocations: 175.7 kB / 18.86 MB, free: 4.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.185/2.185, allocations: 205.4 MB / 225 MB, free: 13.08 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.0005293/0.0005293, allocations: 16 kB / 282 MB, free: 3.434 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.148, allocations: 47.58 MB / 329.6 MB, free: 3.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.009674/0.1578, allocations: 6.884 MB / 336.5 MB, free: 12.86 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01897/0.1768, allocations: 10.46 MB / 346.9 MB, free: 2.359 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002021/0.1789, allocations: 39.69 kB / 347 MB, free: 2.32 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003101/0.182, allocations: 0.6178 MB / 347.6 MB, free: 1.695 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006732/0.1888, allocations: 0.9563 MB / 348.6 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003049/0.1919, allocations: 483.8 kB / 349 MB, free: 264 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006076/0.198, allocations: 2.416 MB / 351.4 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006487/0.1987, allocations: 260.3 kB / 351.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009852/0.1997, allocations: 417.7 kB / 352.1 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006256/0.2003, allocations: 0.5005 MB / 352.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.839e-05/0.2004, allocations: 32 kB / 352.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002596/0.203, allocations: 0.6791 MB / 353.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000189/0.2032, allocations: 158.8 kB / 353.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008853/0.2041, allocations: 0.6654 MB / 354.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001948/0.2061, allocations: 1.398 MB / 355.5 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.2061, allocations: 0 / 355.5 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.2061, allocations: 4 kB / 355.5 MB, free: 9.691 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.596e-05/0.2062, allocations: 0 / 355.5 MB, free: 9.691 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.0035/0.2097, allocations: 1.76 MB / 357.3 MB, free: 7.871 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.851e-05/0.2097, allocations: 12.03 kB / 357.3 MB, free: 7.859 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002841/0.21, allocations: 202.5 kB / 357.5 MB, free: 7.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002146/0.2122, allocations: 1.337 MB / 358.9 MB, free: 6.277 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.169e-05/0.2123, allocations: 40.98 kB / 358.9 MB, free: 6.238 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.2124, allocations: 47.91 kB / 358.9 MB, free: 6.191 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.2135, allocations: 0.5158 MB / 359.5 MB, free: 5.672 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.2136, allocations: 0 / 359.5 MB, free: 5.672 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.457e-05/0.2136, allocations: 19.98 kB / 359.5 MB, free: 5.652 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.308e-05/0.2137, allocations: 16 kB / 359.5 MB, free: 5.637 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.2147, allocations: 496.1 kB / 360 MB, free: 5.148 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003778/0.2185, allocations: 2.116 MB / 362.1 MB, free: 2.949 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/0.2197, allocations: 0.7275 MB / 362.8 MB, free: 2.176 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009272/0.2206, allocations: 0.5251 MB / 363.3 MB, free: 1.648 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0104/0.231, allocations: 6.529 MB / 369.9 MB, free: 10.13 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007653/0.2319, allocations: 302.5 kB / 370.2 MB, free: 9.82 MB / 318.1 MB Notification: Performance of pre-optimization done (n=55): time 5.079e-06/0.2319, allocations: 0 / 370.2 MB, free: 9.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=59): time 0.005532/0.2374, allocations: 2.018 MB / 372.2 MB, free: 7.742 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.78e-05/0.2375, allocations: 59.84 kB / 372.2 MB, free: 7.672 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002294/0.2398, allocations: 1.296 MB / 373.5 MB, free: 6.379 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.128e-05/0.2399, allocations: 33.7 kB / 373.6 MB, free: 6.34 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000761/0.2407, allocations: 0.715 MB / 374.3 MB, free: 5.621 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002402/0.2409, allocations: 201.1 kB / 374.5 MB, free: 5.422 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.2411, allocations: 57.69 kB / 374.5 MB, free: 5.359 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002271/0.2413, allocations: 337.9 kB / 374.9 MB, free: 5.023 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004501/0.2417, allocations: 197.6 kB / 375.1 MB, free: 4.832 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006399/0.2424, allocations: 383.8 kB / 375.4 MB, free: 4.391 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002705/0.2451, allocations: 1.178 MB / 376.6 MB, free: 3.141 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/0.2452, allocations: 4 kB / 376.6 MB, free: 3.137 MB / 318.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002239/0.2474, allocations: 0.9338 MB / 377.6 MB, free: 2.191 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.945e-05/0.2475, allocations: 8 kB / 377.6 MB, free: 2.184 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001098/0.2476, allocations: 59.98 kB / 377.6 MB, free: 2.125 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005321/0.2481, allocations: 161.3 kB / 377.8 MB, free: 1.965 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005347/0.2487, allocations: 115.8 kB / 377.9 MB, free: 1.852 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3672/0.6159, allocations: 2.298 MB / 380.2 MB, free: 51.62 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.6173, allocations: 31.8 kB / 380.2 MB, free: 51.62 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002681/0.6176, allocations: 33.08 kB / 380.3 MB, free: 51.62 MB / 318.1 MB Warning: Assuming fixed start value for the following 2 variables: T2.vbx:VARIABLE(unit = "V" fixed = true ) type: Real T1.vbx:VARIABLE(unit = "V" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 (v.counter,$PRE.v.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,14,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001326/0.619, allocations: 279 kB / 380.5 MB, free: 51.51 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007392/0.6197, allocations: 178.3 kB / 380.7 MB, free: 51.51 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003034/0.6228, allocations: 0.9104 MB / 381.6 MB, free: 51.44 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.6228, allocations: 5.5 kB / 381.6 MB, free: 51.44 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.6228, allocations: 2.062 kB / 381.6 MB, free: 51.44 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.6229, allocations: 2.156 kB / 381.6 MB, free: 51.44 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002759/0.6256, allocations: 0.871 MB / 382.5 MB, free: 51.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001246/0.6258, allocations: 56.2 kB / 382.5 MB, free: 51.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003607/0.6261, allocations: 73.98 kB / 382.6 MB, free: 51.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005295/0.6267, allocations: 145.3 kB / 382.8 MB, free: 51.22 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.98e-05/0.6267, allocations: 19.25 kB / 382.8 MB, free: 51.22 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003287/0.63, allocations: 2.292 MB / 385.1 MB, free: 49.9 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.6301, allocations: 0.875 kB / 385.1 MB, free: 49.9 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002882/0.6329, allocations: 1.093 MB / 386.2 MB, free: 49.59 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005444/0.6335, allocations: 249.7 kB / 386.4 MB, free: 49.41 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001743/0.6337, allocations: 15.78 kB / 386.4 MB, free: 49.4 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003993/0.6341, allocations: 26.3 kB / 386.4 MB, free: 49.39 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002469/0.6344, allocations: 45.73 kB / 386.5 MB, free: 49.39 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.954e-05/0.6345, allocations: 24.33 kB / 386.5 MB, free: 49.38 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002532/0.637, allocations: 0.8634 MB / 387.4 MB, free: 49.06 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.637, allocations: 0 / 387.4 MB, free: 49.06 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001792/0.6388, allocations: 375.7 kB / 387.7 MB, free: 49.04 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (T1.vbe,T1.vbx,T2.vbe,T2.vbx) * Number of discrete variables: 4 ($whenCondition1,v.T0,v.counter,v.counter2) * Number of discrete states: 2 (v.counter,v.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,14,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001154/0.64, allocations: 454.1 kB / 388.2 MB, free: 48.93 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002616/0.6426, allocations: 0.8617 MB / 389.1 MB, free: 48.53 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.6426, allocations: 0 / 389.1 MB, free: 48.53 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001395/0.644, allocations: 0.5945 MB / 389.6 MB, free: 48.21 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/0.6453, allocations: 183.3 kB / 389.8 MB, free: 48.12 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006829/0.6521, allocations: 2.979 MB / 392.8 MB, free: 46.38 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001142/0.6533, allocations: 1.171 MB / 394 MB, free: 45.65 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002171/0.6535, allocations: 81.94 kB / 394.1 MB, free: 45.64 MB / 318.1 MB Notification: Performance of SimCode: time 1.974e-06/0.6535, allocations: 0 / 394.1 MB, free: 45.64 MB / 318.1 MB Notification: Performance of Templates: time 0.04974/0.7033, allocations: 23.81 MB / 417.9 MB, free: 26.17 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Electrical.Spice3.Examples.OscillatorCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Spice3.Examples.OscillatorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Spice3.Examples.OscillatorCalcHelperMain.o] Error 1