Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.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.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001119/0.001119, allocations: 89 kB / 17.63 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001371/0.001371, allocations: 203.9 kB / 18.54 MB, free: 4.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.643/1.643, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002679/0.0002681, allocations: 8 kB / 307.3 MB, free: 1.605 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1532, allocations: 51.48 MB / 358.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.004977/0.1582, allocations: 3.535 MB / 362.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002035/0.1603, allocations: 0.8999 MB / 363.2 MB, free: 9.656 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002454/0.1606, allocations: 8 kB / 363.2 MB, free: 9.648 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001953/0.1608, allocations: 67.45 kB / 363.3 MB, free: 9.582 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003381/0.1611, allocations: 154.8 kB / 363.5 MB, free: 9.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003849/0.1615, allocations: 107.9 kB / 363.6 MB, free: 9.324 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005928/0.1621, allocations: 0.6148 MB / 364.2 MB, free: 8.707 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003064/0.1624, allocations: 158.3 kB / 364.3 MB, free: 8.543 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003145/0.1628, allocations: 219.1 kB / 364.5 MB, free: 8.328 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002942/0.1631, allocations: 250.8 kB / 364.8 MB, free: 8.082 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.385e-05/0.1631, allocations: 36 kB / 364.8 MB, free: 8.047 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.1633, allocations: 35.98 kB / 364.9 MB, free: 8.012 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.1634, allocations: 103.5 kB / 365 MB, free: 7.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.1635, allocations: 125.4 kB / 365.1 MB, free: 7.781 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004948/0.164, allocations: 474.8 kB / 365.5 MB, free: 7.316 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.164, allocations: 4 kB / 365.5 MB, free: 7.312 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.164, allocations: 0 / 365.5 MB, free: 7.312 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.164, allocations: 0 / 365.5 MB, free: 7.312 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001253/0.1653, allocations: 0.787 MB / 366.3 MB, free: 6.477 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.1653, allocations: 8.031 kB / 366.3 MB, free: 6.469 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002905/0.1656, allocations: 87.22 kB / 366.4 MB, free: 6.383 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004843/0.1661, allocations: 350.6 kB / 366.8 MB, free: 6 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.779e-05/0.1662, allocations: 48.92 kB / 366.8 MB, free: 5.953 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.057e-05/0.1663, allocations: 51.95 kB / 366.9 MB, free: 5.902 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007941/0.1671, allocations: 483.2 kB / 367.3 MB, free: 5.418 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.1671, allocations: 0 / 367.3 MB, free: 5.418 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.68e-05/0.1671, allocations: 16 kB / 367.4 MB, free: 5.402 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.1672, allocations: 12 kB / 367.4 MB, free: 5.391 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005954/0.1678, allocations: 344.3 kB / 367.7 MB, free: 5.055 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002597/0.1704, allocations: 1.717 MB / 369.4 MB, free: 3.238 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004522/0.1708, allocations: 261 kB / 369.7 MB, free: 2.965 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002459/0.1711, allocations: 149.7 kB / 369.8 MB, free: 2.812 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.1711, allocations: 0 / 369.8 MB, free: 2.812 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.1712, allocations: 42.56 kB / 369.9 MB, free: 2.762 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.022e-06/0.1712, allocations: 0 / 369.9 MB, free: 2.762 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001868/0.173, allocations: 0.9798 MB / 370.8 MB, free: 1.711 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.432e-05/0.1731, allocations: 81.11 kB / 370.9 MB, free: 1.613 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004022/0.1735, allocations: 381.6 kB / 371.3 MB, free: 1.23 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.1736, allocations: 33.7 kB / 371.3 MB, free: 1.191 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001867/0.1738, allocations: 287.4 kB / 371.6 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.088e-05/0.1738, allocations: 114.4 kB / 371.7 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.648e-05/0.1739, allocations: 12 kB / 371.7 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.174, allocations: 346.8 kB / 372.1 MB, free: 440 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.1743, allocations: 100.8 kB / 372.2 MB, free: 336 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002589/0.1745, allocations: 198.8 kB / 372.4 MB, free: 104 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.313/0.4876, allocations: 134.6 kB / 372.5 MB, free: 19.11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/0.4876, allocations: 0 / 372.5 MB, free: 19.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001251/0.4889, allocations: 450.5 kB / 372.9 MB, free: 19.05 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.95e-05/0.4889, allocations: 6.469 kB / 372.9 MB, free: 19.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.4889, allocations: 6.938 kB / 372.9 MB, free: 19.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003882/0.4893, allocations: 86 kB / 373 MB, free: 19.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003547/0.4897, allocations: 79.39 kB / 373.1 MB, free: 19.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00227/0.492, allocations: 2.846 MB / 376 MB, free: 16.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003383/0.4923, allocations: 22.38 kB / 376 MB, free: 16.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.542e-05/0.4924, allocations: 15.62 kB / 376 MB, free: 16.45 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (45): * Single equations (assignments): 43 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000268/0.4927, allocations: 169.6 kB / 376.2 MB, free: 16.33 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.4928, allocations: 45.89 kB / 376.2 MB, free: 16.33 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.007e-05/0.4929, allocations: 41.31 kB / 376.2 MB, free: 16.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.4929, allocations: 7.766 kB / 376.2 MB, free: 16.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.4929, allocations: 4.469 kB / 376.3 MB, free: 16.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.4929, allocations: 3.047 kB / 376.3 MB, free: 16.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00165/0.4946, allocations: 0.9328 MB / 377.2 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.4946, allocations: 1.062 kB / 377.2 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.4948, allocations: 50.69 kB / 377.2 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002987/0.4951, allocations: 82.62 kB / 377.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/0.4951, allocations: 8.703 kB / 377.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002132/0.4973, allocations: 2.859 MB / 380.2 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.4973, allocations: 1.75 kB / 380.2 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.4983, allocations: 0.614 MB / 380.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.4984, allocations: 115.3 kB / 380.9 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.123e-05/0.4985, allocations: 8.391 kB / 380.9 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000315/0.4988, allocations: 36.86 kB / 381 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.851e-05/0.4989, allocations: 32.3 kB / 381 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-05/0.4989, allocations: 12.3 kB / 381 MB, free: 12.92 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003389/0.4993, allocations: 269.4 kB / 381.3 MB, free: 12.78 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4993, allocations: 0 / 381.3 MB, free: 12.78 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006798/0.5, allocations: 116.5 kB / 381.4 MB, free: 12.77 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (26): * Single equations (assignments): 24 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001544/0.5001, allocations: 109.7 kB / 381.5 MB, free: 12.67 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009018/0.501, allocations: 0.525 MB / 382 MB, free: 12.35 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.501, allocations: 0.8438 kB / 382 MB, free: 12.35 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000578/0.5016, allocations: 391.6 kB / 382.4 MB, free: 12.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005388/0.5022, allocations: 60.25 kB / 382.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/0.5041, allocations: 1.213 MB / 383.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.5045, allocations: 0.8434 MB / 384.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.5046, allocations: 35.64 kB / 384.5 MB, free: 10.53 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.5046, allocations: 4.844 kB / 384.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of Templates: time 0.01632/0.5209, allocations: 8.811 MB / 393.4 MB, free: 7.668 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.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.CompareTransformersCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformersCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformersCalcHelperMain.o] Error 1