Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nor.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.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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.Nor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 100.5 kB / 17.96 MB, free: 5.766 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.001668/0.001668, allocations: 179 kB / 18.86 MB, free: 4.906 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.074/2.074, allocations: 205.4 MB / 225 MB, free: 12.98 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.0005139/0.0005139, allocations: 18.59 kB / 282 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.142, allocations: 47.59 MB / 329.6 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nor): time 0.01366/0.1558, allocations: 12.87 MB / 342.5 MB, free: 6.824 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02715/0.183, allocations: 19.25 MB / 361.7 MB, free: 3.504 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003721/0.1868, allocations: 67.44 kB / 361.8 MB, free: 3.438 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004429/0.1913, allocations: 0.9709 MB / 362.8 MB, free: 2.457 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01275/0.2041, allocations: 1.883 MB / 364.6 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007596/0.2117, allocations: 1.153 MB / 365.8 MB, free: 15.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01324/0.225, allocations: 6.175 MB / 372 MB, free: 9.211 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001104/0.2262, allocations: 413 kB / 372.4 MB, free: 8.777 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002234/0.2284, allocations: 0.9132 MB / 373.3 MB, free: 7.859 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001849/0.2303, allocations: 1.032 MB / 374.3 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001552/0.2305, allocations: 44 kB / 374.4 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005357/0.2358, allocations: 1.132 MB / 375.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003599/0.2362, allocations: 289.7 kB / 375.8 MB, free: 5.359 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001652/0.2379, allocations: 1.321 MB / 377.1 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003413/0.2413, allocations: 2.66 MB / 379.8 MB, free: 1.355 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.2413, allocations: 0 / 379.8 MB, free: 1.355 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.2413, allocations: 0 / 379.8 MB, free: 1.355 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.768e-05/0.2414, allocations: 0 / 379.8 MB, free: 1.355 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.3417/0.5831, allocations: 3.149 MB / 382.9 MB, free: 52.77 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.519e-05/0.5832, allocations: 9.625 kB / 382.9 MB, free: 52.77 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001829/0.585, allocations: 379.9 kB / 383.3 MB, free: 52.58 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00925/0.5943, allocations: 2.554 MB / 385.8 MB, free: 51.8 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.916e-05/0.5945, allocations: 36.16 kB / 385.9 MB, free: 51.79 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002134/0.5947, allocations: 56.06 kB / 385.9 MB, free: 51.79 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002179/0.5969, allocations: 0.7944 MB / 386.7 MB, free: 51.59 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.5969, allocations: 0 / 386.7 MB, free: 51.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.184e-05/0.597, allocations: 21.77 kB / 386.8 MB, free: 51.58 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.92e-05/0.5971, allocations: 19.55 kB / 386.8 MB, free: 51.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002355/0.5994, allocations: 0.9229 MB / 387.7 MB, free: 51.35 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00828/0.6077, allocations: 3.013 MB / 390.7 MB, free: 49.91 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002074/0.6098, allocations: 0.8553 MB / 391.6 MB, free: 49.5 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001943/0.6118, allocations: 0.9903 MB / 392.6 MB, free: 49.08 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03018/0.642, allocations: 30.18 MB / 422.7 MB, free: 19.2 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001153/0.6432, allocations: 0.6309 MB / 423.4 MB, free: 18.56 MB / 318.1 MB Notification: Performance of pre-optimization done (n=96): time 4.819e-06/0.6432, allocations: 0.8438 kB / 423.4 MB, free: 18.56 MB / 318.1 MB Notification: Performance of matching and sorting (n=99): time 0.01372/0.657, allocations: 5.703 MB / 429.1 MB, free: 12.62 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/0.6571, allocations: 69.5 kB / 429.1 MB, free: 12.54 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003682/0.6607, allocations: 2.711 MB / 431.8 MB, free: 9.82 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000146/0.6609, allocations: 41.7 kB / 431.9 MB, free: 9.773 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00107/0.662, allocations: 1.3 MB / 433.2 MB, free: 8.469 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003805/0.6624, allocations: 337.1 kB / 433.5 MB, free: 8.145 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/0.6625, allocations: 81.67 kB / 433.6 MB, free: 8.059 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.6627, allocations: 349.9 kB / 433.9 MB, free: 7.711 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/0.6639, allocations: 0.5331 MB / 434.5 MB, free: 7.18 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/0.6652, allocations: 0.7134 MB / 435.2 MB, free: 6.398 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002522/0.6677, allocations: 1.255 MB / 436.4 MB, free: 5.082 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.6677, allocations: 4 kB / 436.4 MB, free: 5.078 MB / 318.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.004528/0.6722, allocations: 2.106 MB / 438.6 MB, free: 2.898 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.273e-05/0.6723, allocations: 8 kB / 438.6 MB, free: 2.891 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000153/0.6725, allocations: 127.9 kB / 438.7 MB, free: 2.766 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000713/0.6732, allocations: 267.1 kB / 438.9 MB, free: 2.477 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008652/0.6741, allocations: 227.7 kB / 439.2 MB, free: 2.254 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01081/0.6849, allocations: 13.25 MB / 452.4 MB, free: 3.699 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002814/0.6877, allocations: 120 kB / 452.5 MB, free: 3.582 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003288/0.6881, allocations: 60 kB / 452.6 MB, free: 3.523 MB / 334.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 (v.counter,$PRE.v.counter,vin2.counter,$PRE.vin2.counter,vin1.counter,$PRE.vin1.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,vin2.counter2,$PRE.vin2.counter2,vin2.T0,$PRE.vin2.T0,vin1.counter2,$PRE.vin1.counter2,vin1.T0,$PRE.vin1.T0,$whenCondition1,$whenCondition2,$whenCondition3) * 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 (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001625/0.6897, allocations: 441 kB / 453 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001289/0.691, allocations: 371.5 kB / 453.4 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006548/0.6976, allocations: 2.349 MB / 455.7 MB, free: 312 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/0.6976, allocations: 8.688 kB / 455.7 MB, free: 304 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/0.6977, allocations: 7.984 kB / 455.8 MB, free: 296 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/0.6977, allocations: 7.984 kB / 455.8 MB, free: 288 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003438/0.7011, allocations: 1.547 MB / 457.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001777/0.7013, allocations: 116 kB / 457.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007848/0.7021, allocations: 171.8 kB / 457.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006727/0.7028, allocations: 267 kB / 457.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.485e-05/0.7029, allocations: 43.98 kB / 457.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01184/0.7148, allocations: 13.24 MB / 471.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.7148, allocations: 8.062 kB / 471.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006944/0.7218, allocations: 2.741 MB / 473.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001914/0.7237, allocations: 496.5 kB / 474.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004158/0.7241, allocations: 20 kB / 474.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.7252, allocations: 111.9 kB / 474.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004569/0.7256, allocations: 144.8 kB / 474.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/0.7258, allocations: 47.98 kB / 474.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.003/0.7288, allocations: 1.778 MB / 476.5 MB, free: 10.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.7288, allocations: 4 kB / 476.5 MB, free: 10.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002555/0.7314, allocations: 0.6586 MB / 477.1 MB, free: 9.445 MB / 366.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 (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001779/0.7332, allocations: 0.8253 MB / 478 MB, free: 8.781 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005242/0.7384, allocations: 2.64 MB / 480.6 MB, free: 5.988 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.7384, allocations: 4.188 kB / 480.6 MB, free: 5.984 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003367/0.7418, allocations: 2.014 MB / 482.6 MB, free: 3.824 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003152/0.745, allocations: 497.2 kB / 483.1 MB, free: 3.332 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009491/0.7545, allocations: 5.753 MB / 488.9 MB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001444/0.756, allocations: 1.662 MB / 490.5 MB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005193/0.7565, allocations: 167.4 kB / 490.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of SimCode: time 1.413e-06/0.7565, allocations: 0 / 490.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of Templates: time 0.3904/1.147, allocations: 154.6 MB / 0.6301 GB, free: 39.06 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nor.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nor.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.NorCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Spice3.Examples.NorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Spice3.Examples.NorCalcHelperMain.o] Error 1