Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor.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.Spice3.Examples.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mn1.Dinternal|mn1.Sinternal|mn2.Dinternal|mn2.Sinternal|mp1.Dinternal|mp1.Sinternal|mp2.Dinternal|mp2.Sinternal",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor") translateModel(Modelica.Electrical.Spice3.Examples.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mn1.Dinternal|mn1.Sinternal|mn2.Dinternal|mn2.Sinternal|mp1.Dinternal|mp1.Sinternal|mp2.Dinternal|mp2.Sinternal",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00116/0.00116, allocations: 88.53 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001597/0.001597, allocations: 203.4 kB / 18.54 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.574/1.574, allocations: 227.3 MB / 246.6 MB, free: 10.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002838/0.0002842, allocations: 8 kB / 307.3 MB, free: 1.387 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1457, allocations: 51.49 MB / 358.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nor): time 0.01497/0.1608, allocations: 12.57 MB / 371.4 MB, free: 1.281 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.34/0.5008, allocations: 18.57 MB / 389.9 MB, free: 4.301 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003445/0.5043, allocations: 63.22 kB / 390 MB, free: 4.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005054/0.5094, allocations: 0.8717 MB / 390.9 MB, free: 3.891 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01376/0.5232, allocations: 1.833 MB / 392.7 MB, free: 2.805 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008292/0.5316, allocations: 1.11 MB / 393.8 MB, free: 2.246 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01753/0.5492, allocations: 6.093 MB / 399.9 MB, free: 15.81 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001587/0.5508, allocations: 392.9 kB / 400.3 MB, free: 15.61 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003476/0.5543, allocations: 0.941 MB / 401.2 MB, free: 15.16 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003375/0.5577, allocations: 0.9881 MB / 402.2 MB, free: 14.62 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004582/0.5582, allocations: 42.59 kB / 402.3 MB, free: 14.62 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008188/0.5664, allocations: 1.34 MB / 403.6 MB, free: 14.11 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009452/0.5674, allocations: 277.4 kB / 403.9 MB, free: 13.9 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002758/0.5702, allocations: 0.5964 MB / 404.5 MB, free: 13.54 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005748/0.5759, allocations: 2.64 MB / 407.1 MB, free: 11.71 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.228e-06/0.576, allocations: 0 / 407.1 MB, free: 11.71 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.376e-06/0.576, allocations: 0 / 407.1 MB, free: 11.71 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001383/0.5761, allocations: 3.094 kB / 407.1 MB, free: 11.71 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.007618/0.5838, allocations: 3.167 MB / 410.3 MB, free: 9.012 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.311e-05/0.5838, allocations: 12.03 kB / 410.3 MB, free: 9 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008609/0.5847, allocations: 375.4 kB / 410.7 MB, free: 8.629 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005138/0.5899, allocations: 2.376 MB / 413 MB, free: 6.18 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.348e-05/0.5899, allocations: 40.94 kB / 413.1 MB, free: 6.141 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.5901, allocations: 59.89 kB / 413.1 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.5917, allocations: 0.7811 MB / 413.9 MB, free: 5.297 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.5917, allocations: 0 / 413.9 MB, free: 5.297 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.23e-05/0.5918, allocations: 20 kB / 413.9 MB, free: 5.277 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.832e-05/0.5918, allocations: 19.98 kB / 413.9 MB, free: 5.258 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001756/0.5936, allocations: 0.9178 MB / 414.9 MB, free: 4.336 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005614/0.5992, allocations: 3.002 MB / 417.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/0.601, allocations: 0.8546 MB / 418.7 MB, free: 408 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/0.6025, allocations: 0.9916 MB / 419.7 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03352/0.6361, allocations: 30.74 MB / 450.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001253/0.6374, allocations: 0.6231 MB / 451.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 3.908e-06/0.6374, allocations: 0 / 451.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=99): time 0.01341/0.6508, allocations: 5.713 MB / 456.8 MB, free: 5.809 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.651, allocations: 64.41 kB / 456.9 MB, free: 5.734 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003847/0.6548, allocations: 2.665 MB / 459.5 MB, free: 3.055 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001085/0.6549, allocations: 41.7 kB / 459.6 MB, free: 3.008 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001364/0.6563, allocations: 1.299 MB / 460.9 MB, free: 1.703 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000398/0.6567, allocations: 343.1 kB / 461.2 MB, free: 1.363 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.525e-05/0.6568, allocations: 16 kB / 461.2 MB, free: 1.348 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002044/0.657, allocations: 349.9 kB / 461.6 MB, free: 1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001297/0.6583, allocations: 0.5215 MB / 462.1 MB, free: 488 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001344/0.6597, allocations: 0.7095 MB / 462.8 MB, free: 15.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.661, allocations: 0.573 MB / 463.4 MB, free: 15.13 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/0.661, allocations: 7.953 kB / 463.4 MB, free: 15.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00463/0.6656, allocations: 2.089 MB / 465.5 MB, free: 12.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.828e-05/0.6657, allocations: 4 kB / 465.5 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002148/0.6659, allocations: 120 kB / 465.6 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/0.6669, allocations: 272.9 kB / 465.8 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009437/0.6679, allocations: 227.6 kB / 466.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01124/0.6791, allocations: 13.24 MB / 479.3 MB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001983/0.6812, allocations: 120 kB / 479.4 MB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001475/0.6813, allocations: 59.94 kB / 479.5 MB, free: 13.58 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.v.counter,v.counter,$PRE.vin2.counter,vin2.counter,$PRE.vin1.counter,vin1.counter,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.vin1.T0,vin1.T0,$PRE.vin1.counter2,vin1.counter2,$PRE.vin2.T0,vin2.T0,$PRE.vin2.counter2,vin2.counter2,$PRE.v.T0,v.T0,$PRE.v.counter2,v.counter2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001122/0.6825, allocations: 429.6 kB / 479.9 MB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004999/0.683, allocations: 375.5 kB / 480.3 MB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005293/0.6883, allocations: 2.328 MB / 482.6 MB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/0.6883, allocations: 15.98 kB / 482.6 MB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.6883, allocations: 4 kB / 482.6 MB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.6883, allocations: 3.984 kB / 482.6 MB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002624/0.691, allocations: 1.547 MB / 484.2 MB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002034/0.6912, allocations: 116 kB / 484.3 MB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007139/0.6919, allocations: 167.8 kB / 484.4 MB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006258/0.6925, allocations: 260.3 kB / 484.7 MB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-05/0.6926, allocations: 47.92 kB / 484.7 MB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01115/0.7038, allocations: 13.24 MB / 498 MB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.7038, allocations: 0 / 498 MB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006048/0.7099, allocations: 2.735 MB / 0.489 GB, free: 6.746 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001475/0.7114, allocations: 492.5 kB / 0.4894 GB, free: 6.242 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002978/0.7117, allocations: 19.98 kB / 0.4895 GB, free: 6.223 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008998/0.7126, allocations: 115.9 kB / 0.4896 GB, free: 6.109 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004326/0.7131, allocations: 140.8 kB / 0.4897 GB, free: 5.969 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/0.7132, allocations: 51.98 kB / 0.4898 GB, free: 5.918 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002625/0.7158, allocations: 1.738 MB / 0.4915 GB, free: 4.172 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.6e-07/0.7158, allocations: 4 kB / 0.4915 GB, free: 4.168 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002075/0.7179, allocations: 0.6521 MB / 0.4921 GB, free: 3.516 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (mp1.Dinternal,mp1.Sinternal,mp2.Dinternal,mp2.Sinternal,mn1.Dinternal,mn1.Sinternal,mn2.Dinternal,mn2.Sinternal) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,vin1.T0,vin1.counter,vin1.counter2,vin2.T0,vin2.counter,vin2.counter2,v.T0,v.counter,v.counter2) * Number of discrete states: 6 (vin1.counter,vin2.counter,v.counter,vin1.counter2,vin2.counter2,v.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 9 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00132/0.7193, allocations: 0.7758 MB / 0.4929 GB, free: 2.734 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00443/0.7237, allocations: 2.643 MB / 0.4954 GB, free: 15.94 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.7237, allocations: 0 / 0.4954 GB, free: 15.94 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002668/0.7264, allocations: 2.023 MB / 0.4974 GB, free: 13.77 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00309/0.7295, allocations: 0.5977 MB / 0.498 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008846/0.7384, allocations: 5.384 MB / 0.5033 GB, free: 7.746 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001402/0.7398, allocations: 1.654 MB / 0.5049 GB, free: 6.062 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005706/0.7404, allocations: 171.4 kB / 0.505 GB, free: 5.895 MB / 430.1 MB Notification: Performance of SimCode: time 8.62e-07/0.7404, allocations: 0 / 0.505 GB, free: 5.895 MB / 430.1 MB Notification: Performance of Templates: time 0.4142/1.155, allocations: 153.7 MB / 0.6551 GB, free: 29.05 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor.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.Spice3.Examples.NorCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Spice3.Examples.NorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Spice3.Examples.NorCalcHelperMain.o] Error 1