Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits") translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001524/0.001524, allocations: 94.7 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001749/0.001749, allocations: 198.2 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.734/1.734, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002814/0.0002815, allocations: 4 kB / 307.3 MB, free: 1.633 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1401, allocations: 51.49 MB / 358.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.005756/0.1459, allocations: 4.624 MB / 363.4 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003789/0.1498, allocations: 1.43 MB / 364.8 MB, free: 8.059 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009757/0.1508, allocations: 23.88 kB / 364.9 MB, free: 8.035 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005176/0.1513, allocations: 158.6 kB / 365 MB, free: 7.879 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006778/0.152, allocations: 146.7 kB / 365.2 MB, free: 7.734 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008471/0.1529, allocations: 303.6 kB / 365.5 MB, free: 7.438 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001197/0.1541, allocations: 0.9895 MB / 366.5 MB, free: 6.445 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006078/0.1547, allocations: 354.2 kB / 366.8 MB, free: 6.082 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005662/0.1553, allocations: 322.5 kB / 367.1 MB, free: 5.766 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003824/0.1557, allocations: 349.9 kB / 367.5 MB, free: 5.422 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.84e-05/0.1558, allocations: 40 kB / 367.5 MB, free: 5.383 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000177/0.1559, allocations: 60 kB / 367.6 MB, free: 5.324 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.1561, allocations: 155.2 kB / 367.7 MB, free: 5.172 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001897/0.1563, allocations: 201.1 kB / 367.9 MB, free: 4.969 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007649/0.1571, allocations: 0.7754 MB / 368.7 MB, free: 4.191 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.1571, allocations: 4 kB / 368.7 MB, free: 4.188 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1571, allocations: 0 / 368.7 MB, free: 4.188 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.1571, allocations: 4 kB / 368.7 MB, free: 4.184 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.001784/0.1589, allocations: 1.126 MB / 369.8 MB, free: 3.008 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.159, allocations: 8.031 kB / 369.8 MB, free: 3 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004236/0.1594, allocations: 150.4 kB / 370 MB, free: 2.852 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000926/0.1603, allocations: 0.584 MB / 370.6 MB, free: 2.227 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.443e-05/0.1604, allocations: 85.92 kB / 370.6 MB, free: 2.141 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/0.1606, allocations: 103.9 kB / 370.7 MB, free: 2.039 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001811/0.1624, allocations: 1.027 MB / 371.8 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.401e-05/0.1624, allocations: 7.938 kB / 371.8 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.318e-05/0.1625, allocations: 44 kB / 371.8 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.959e-05/0.1625, allocations: 28 kB / 371.8 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.1638, allocations: 0.5578 MB / 372.4 MB, free: 264 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2836/0.4474, allocations: 5.517 MB / 377.9 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007874/0.4482, allocations: 234.1 kB / 378.1 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003871/0.4486, allocations: 161.7 kB / 378.3 MB, free: 15.06 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001712/0.4488, allocations: 88.72 kB / 378.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.4489, allocations: 38.36 kB / 378.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=28): time 2.885e-06/0.4489, allocations: 0 / 378.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.004044/0.4529, allocations: 1.775 MB / 380.2 MB, free: 14.08 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.453, allocations: 83.09 kB / 380.3 MB, free: 13.99 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000748/0.4537, allocations: 0.6251 MB / 380.9 MB, free: 13.71 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.4538, allocations: 32.39 kB / 380.9 MB, free: 13.67 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003797/0.4542, allocations: 0.5966 MB / 381.5 MB, free: 13.2 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.4543, allocations: 151.4 kB / 381.7 MB, free: 13.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-05/0.4543, allocations: 14.75 kB / 381.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.4545, allocations: 392.4 kB / 382.1 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000334/0.4548, allocations: 155.5 kB / 382.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005591/0.4554, allocations: 0.4967 MB / 382.7 MB, free: 12.17 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004296/0.4558, allocations: 234.5 kB / 383 MB, free: 12.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.4558, allocations: 2.688 kB / 383 MB, free: 12.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001302/0.4571, allocations: 0.7309 MB / 383.7 MB, free: 11.76 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.89e-05/0.4572, allocations: 10.53 kB / 383.7 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.676e-05/0.4572, allocations: 12.59 kB / 383.7 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.292e-05/0.4573, allocations: 17.75 kB / 383.7 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007595/0.458, allocations: 207.4 kB / 383.9 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.196e-05/0.4581, allocations: 26.5 kB / 384 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003929/0.4585, allocations: 38.42 kB / 384 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.169e-05/0.4585, allocations: 39.25 kB / 384 MB, free: 11.71 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (96): * Single equations (assignments): 96 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003436/0.4589, allocations: 226.3 kB / 384.3 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.4591, allocations: 74.98 kB / 384.3 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001712/0.4592, allocations: 78.33 kB / 384.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.4593, allocations: 5.125 kB / 384.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.391e-05/0.4593, allocations: 0 / 384.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.799e-06/0.4593, allocations: 3.531 kB / 384.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002743/0.462, allocations: 1.365 MB / 385.8 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.834e-06/0.4621, allocations: 6.828 kB / 385.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005123/0.4626, allocations: 110.2 kB / 385.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/0.4626, allocations: 2.562 kB / 385.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.365e-05/0.4626, allocations: 9.875 kB / 385.9 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.407e-06/0.4627, allocations: 7.75 kB / 385.9 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.4627, allocations: 6.281 kB / 385.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.464, allocations: 0.7177 MB / 386.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.4642, allocations: 151 kB / 386.8 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.007e-05/0.4643, allocations: 8.547 kB / 386.8 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002846/0.4645, allocations: 29.8 kB / 386.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.4647, allocations: 34.61 kB / 386.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.19e-05/0.4647, allocations: 11 kB / 386.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007048/0.4654, allocations: 417.4 kB / 387.3 MB, free: 9.859 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.5e-07/0.4654, allocations: 0 / 387.3 MB, free: 9.859 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001042/0.4665, allocations: 137.6 kB / 387.4 MB, free: 9.844 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (inductor2.i,capacitor2.v,inductor1.i,capacitor1.v) * 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 (40): * Single equations (assignments): 40 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00021/0.4667, allocations: 106.4 kB / 387.5 MB, free: 9.75 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001132/0.4678, allocations: 446.4 kB / 388 MB, free: 9.613 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.4679, allocations: 1 kB / 388 MB, free: 9.613 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000392/0.4683, allocations: 173.1 kB / 388.1 MB, free: 9.559 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006081/0.4689, allocations: 69 kB / 388.2 MB, free: 9.516 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003553/0.4724, allocations: 2.13 MB / 390.3 MB, free: 8.113 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007945/0.4732, allocations: 0.9996 MB / 391.3 MB, free: 7.402 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/0.4735, allocations: 70.64 kB / 391.4 MB, free: 7.391 MB / 302.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4735, allocations: 5.438 kB / 391.4 MB, free: 7.387 MB / 302.1 MB Notification: Performance of Templates: time 0.02354/0.497, allocations: 9.051 MB / 400.4 MB, free: 3.285 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.Electrical.Analog.Examples.ResonanceCircuitsCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuitsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuitsCalcHelperMain.o] Error 1