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.001305/0.001306, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001226/0.001226, allocations: 194 kB / 18.72 MB, free: 4.762 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.065/2.065, allocations: 205.1 MB / 224.6 MB, free: 12.38 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.001686/0.001686, allocations: 43.94 kB / 280.6 MB, free: 3.605 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1656, allocations: 46.63 MB / 327.2 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nor): time 0.01551/0.1812, allocations: 13.42 MB / 340.7 MB, free: 7.426 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.03083/0.2121, allocations: 19.52 MB / 360.2 MB, free: 3.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004857/0.217, allocations: 67.44 kB / 360.2 MB, free: 3.754 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004914/0.2221, allocations: 0.9505 MB / 361.2 MB, free: 2.793 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01385/0.2359, allocations: 1.887 MB / 363.1 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008726/0.2448, allocations: 1.16 MB / 364.2 MB, free: 15.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01508/0.2599, allocations: 6.167 MB / 370.4 MB, free: 9.543 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001325/0.2614, allocations: 405 kB / 370.8 MB, free: 9.117 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002508/0.2639, allocations: 0.9328 MB / 371.7 MB, free: 8.18 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001308/0.2652, allocations: 1.044 MB / 372.8 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001774/0.2654, allocations: 52 kB / 372.8 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006201/0.2716, allocations: 1.12 MB / 374 MB, free: 5.957 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000431/0.2721, allocations: 301.7 kB / 374.3 MB, free: 5.66 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001969/0.274, allocations: 1.304 MB / 375.6 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003853/0.2779, allocations: 2.715 MB / 378.3 MB, free: 1.625 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.768e-06/0.2779, allocations: 0 / 378.3 MB, free: 1.625 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2779, allocations: 4 kB / 378.3 MB, free: 1.621 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.866e-05/0.278, allocations: 0 / 378.3 MB, free: 1.621 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.3363/0.6143, allocations: 3.587 MB / 381.9 MB, free: 53.54 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.559e-05/0.6144, allocations: 9.625 kB / 381.9 MB, free: 53.54 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.6156, allocations: 379.2 kB / 382.2 MB, free: 53.35 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006899/0.6225, allocations: 2.558 MB / 384.8 MB, free: 52.23 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.71e-05/0.6226, allocations: 33.48 kB / 384.8 MB, free: 52.21 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001659/0.6228, allocations: 57.62 kB / 384.9 MB, free: 52.2 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002167/0.6249, allocations: 0.7563 MB / 385.6 MB, free: 51.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.625, allocations: 3.375 kB / 385.6 MB, free: 51.93 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.127e-05/0.6251, allocations: 24.48 kB / 385.7 MB, free: 51.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-05/0.6251, allocations: 20.05 kB / 385.7 MB, free: 51.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00238/0.6275, allocations: 0.8575 MB / 386.5 MB, free: 51.69 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008378/0.6359, allocations: 2.979 MB / 389.5 MB, free: 50.23 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00206/0.638, allocations: 0.7951 MB / 390.3 MB, free: 49.81 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001866/0.6399, allocations: 0.9562 MB / 391.3 MB, free: 49.39 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03218/0.6721, allocations: 30.13 MB / 421.4 MB, free: 19.8 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001195/0.6733, allocations: 0.5953 MB / 422 MB, free: 19.2 MB / 318.1 MB Notification: Performance of pre-optimization done (n=96): time 5.08e-06/0.6734, allocations: 3.938 kB / 422 MB, free: 19.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=99): time 0.01355/0.6869, allocations: 5.239 MB / 427.2 MB, free: 13.79 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.445e-05/0.687, allocations: 68.39 kB / 427.3 MB, free: 13.71 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004105/0.6912, allocations: 2.705 MB / 430 MB, free: 10.99 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001482/0.6913, allocations: 45.69 kB / 430.1 MB, free: 10.94 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001084/0.6924, allocations: 1.299 MB / 431.4 MB, free: 9.633 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003344/0.6928, allocations: 334.7 kB / 431.7 MB, free: 9.305 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004124/0.6932, allocations: 234.3 kB / 431.9 MB, free: 9.07 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.6933, allocations: 345.9 kB / 432.3 MB, free: 8.727 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/0.6944, allocations: 481.9 kB / 432.7 MB, free: 8.258 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/0.6957, allocations: 0.6508 MB / 433.4 MB, free: 7.543 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002252/0.6979, allocations: 1.136 MB / 434.5 MB, free: 6.348 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.854e-06/0.698, allocations: 0 / 434.5 MB, free: 6.348 MB / 318.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.004532/0.7025, allocations: 1.974 MB / 436.5 MB, free: 4.293 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/0.7025, allocations: 4.531 kB / 436.5 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001475/0.7027, allocations: 124 kB / 436.6 MB, free: 4.168 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000687/0.7034, allocations: 264.4 kB / 436.9 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000812/0.7042, allocations: 203.7 kB / 437.1 MB, free: 3.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01242/0.7167, allocations: 13.24 MB / 450.3 MB, free: 5.137 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002756/0.7195, allocations: 87.89 kB / 450.4 MB, free: 5.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002591/0.7198, allocations: 64.06 kB / 450.5 MB, free: 4.988 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.001389/0.7212, allocations: 430 kB / 450.9 MB, free: 4.559 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008613/0.722, allocations: 375 kB / 451.2 MB, free: 4.191 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005712/0.7277, allocations: 2.224 MB / 453.5 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-05/0.7278, allocations: 8 kB / 453.5 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.7278, allocations: 4 kB / 453.5 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/0.7278, allocations: 3.984 kB / 453.5 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003735/0.7316, allocations: 1.55 MB / 455 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001857/0.7318, allocations: 116 kB / 455.2 MB, free: 184 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007409/0.7325, allocations: 135.8 kB / 455.3 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008034/0.7333, allocations: 264 kB / 455.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000114/0.7335, allocations: 47.97 kB / 455.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01474/0.7482, allocations: 13.24 MB / 468.8 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.7483, allocations: 0 / 468.8 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007404/0.7557, allocations: 2.547 MB / 471.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002544/0.7583, allocations: 0.4887 MB / 471.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000364/0.7586, allocations: 20 kB / 471.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009765/0.7596, allocations: 79.89 kB / 472 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004862/0.7601, allocations: 140.8 kB / 472.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000131/0.7603, allocations: 51.98 kB / 472.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00329/0.7635, allocations: 1.782 MB / 473.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7636, allocations: 0 / 473.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002664/0.7662, allocations: 0.6627 MB / 474.6 MB, free: 11.3 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.001739/0.768, allocations: 0.8338 MB / 475.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004957/0.773, allocations: 2.511 MB / 477.9 MB, free: 7.816 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.545e-06/0.773, allocations: 0 / 477.9 MB, free: 7.816 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003213/0.7762, allocations: 1.947 MB / 479.9 MB, free: 5.719 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003077/0.7793, allocations: 0.4934 MB / 480.4 MB, free: 5.219 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01125/0.7906, allocations: 5.588 MB / 486 MB, free: 15.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001848/0.7925, allocations: 1.666 MB / 487.6 MB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007503/0.7932, allocations: 171.4 kB / 487.8 MB, free: 13.75 MB / 382.1 MB Notification: Performance of SimCode: time 2.054e-06/0.7932, allocations: 7.938 kB / 487.8 MB, free: 13.74 MB / 382.1 MB Notification: Performance of Templates: time 0.3627/1.156, allocations: 154.9 MB / 0.6276 GB, free: 41.49 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