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.0009656/0.0009658, allocations: 87.11 kB / 17.58 MB, free: 5.758 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.001065/0.001065, allocations: 186.4 kB / 18.48 MB, free: 5.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.782/1.782, allocations: 205.4 MB / 224.6 MB, free: 13.08 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.0004907/0.0004908, allocations: 15.98 kB / 281.4 MB, free: 3.723 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1127, allocations: 47.57 MB / 329 MB, free: 4.078 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nor): time 0.01057/0.1233, allocations: 11.97 MB / 340.9 MB, free: 8.07 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02102/0.1444, allocations: 17.61 MB / 358.5 MB, free: 6.414 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002504/0.1469, allocations: 67.44 kB / 358.6 MB, free: 6.348 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00297/0.1499, allocations: 0.8398 MB / 359.5 MB, free: 5.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00886/0.1588, allocations: 1.809 MB / 361.3 MB, free: 3.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005036/0.1639, allocations: 1.061 MB / 362.3 MB, free: 2.613 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01102/0.1749, allocations: 5.894 MB / 368.2 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009599/0.1759, allocations: 399.3 kB / 368.6 MB, free: 12.28 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001609/0.1776, allocations: 0.8357 MB / 369.4 MB, free: 11.44 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001032/0.1786, allocations: 0.963 MB / 370.4 MB, free: 10.47 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001288/0.1787, allocations: 48 kB / 370.5 MB, free: 10.42 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004029/0.1828, allocations: 1.085 MB / 371.5 MB, free: 9.336 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003442/0.1831, allocations: 266 kB / 371.8 MB, free: 9.074 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001345/0.1845, allocations: 0.6014 MB / 372.4 MB, free: 8.465 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00396/0.1885, allocations: 2.656 MB / 375.1 MB, free: 5.801 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.1885, allocations: 0 / 375.1 MB, free: 5.801 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.1885, allocations: 0 / 375.1 MB, free: 5.801 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.214e-05/0.1885, allocations: 0 / 375.1 MB, free: 5.801 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.005091/0.1936, allocations: 3.186 MB / 378.2 MB, free: 2.543 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.1937, allocations: 8.031 kB / 378.2 MB, free: 2.535 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004126/0.1941, allocations: 379.4 kB / 378.6 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2226/0.4167, allocations: 2.398 MB / 381 MB, free: 35.96 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.247e-05/0.4168, allocations: 37.22 kB / 381.1 MB, free: 35.96 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/0.417, allocations: 49.92 kB / 381.1 MB, free: 35.96 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/0.4186, allocations: 0.7919 MB / 381.9 MB, free: 35.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.4187, allocations: 0 / 381.9 MB, free: 35.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.585e-05/0.4187, allocations: 20.53 kB / 381.9 MB, free: 35.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.919e-05/0.4188, allocations: 20.16 kB / 381.9 MB, free: 35.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002071/0.4209, allocations: 0.9186 MB / 382.9 MB, free: 35.91 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006442/0.4273, allocations: 3.019 MB / 385.9 MB, free: 35.47 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001897/0.4292, allocations: 0.845 MB / 386.7 MB, free: 35.45 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001719/0.431, allocations: 0.9918 MB / 387.7 MB, free: 35.43 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02613/0.4571, allocations: 30.17 MB / 417.9 MB, free: 12.53 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001022/0.4582, allocations: 0.6268 MB / 418.5 MB, free: 12.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=96): time 2.414e-06/0.4582, allocations: 0 / 418.5 MB, free: 12.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=99): time 0.01018/0.4684, allocations: 5.712 MB / 424.2 MB, free: 8.27 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.4684, allocations: 70.33 kB / 424.3 MB, free: 8.191 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002669/0.4711, allocations: 2.674 MB / 427 MB, free: 5.527 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.419e-05/0.4712, allocations: 41.7 kB / 427 MB, free: 5.48 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000872/0.4721, allocations: 1.305 MB / 428.3 MB, free: 4.172 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002441/0.4723, allocations: 335.9 kB / 428.6 MB, free: 3.848 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-05/0.4724, allocations: 25.09 kB / 428.7 MB, free: 3.824 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.136e-05/0.4725, allocations: 343.8 kB / 429 MB, free: 3.484 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/0.4735, allocations: 0.5254 MB / 429.5 MB, free: 2.961 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/0.4746, allocations: 0.7086 MB / 430.2 MB, free: 2.188 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.4757, allocations: 0.5746 MB / 430.8 MB, free: 1.621 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.4757, allocations: 0 / 430.8 MB, free: 1.621 MB / 318.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003517/0.4792, allocations: 2.098 MB / 432.9 MB, free: 15.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.4792, allocations: 6.688 kB / 432.9 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001836/0.4794, allocations: 124 kB / 433 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006538/0.4801, allocations: 265.2 kB / 433.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000845/0.481, allocations: 235.7 kB / 433.5 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009577/0.4905, allocations: 13.24 MB / 446.8 MB, free: 372 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/0.4922, allocations: 128 kB / 446.9 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001409/0.4923, allocations: 59.95 kB / 446.9 MB, free: 184 kB / 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 ($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.0009728/0.4933, allocations: 429.5 kB / 447.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004079/0.4937, allocations: 371.5 kB / 447.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005158/0.4989, allocations: 2.344 MB / 450.1 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/0.4989, allocations: 15.98 kB / 450.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/0.4989, allocations: 4 kB / 450.1 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.4989, allocations: 7.984 kB / 450.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002476/0.5014, allocations: 1.549 MB / 451.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001647/0.5016, allocations: 116 kB / 451.8 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006787/0.5023, allocations: 171.6 kB / 451.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006076/0.5029, allocations: 255.7 kB / 452.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/0.503, allocations: 43.98 kB / 452.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009997/0.513, allocations: 13.24 MB / 465.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.5131, allocations: 0 / 465.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006256/0.5193, allocations: 2.726 MB / 468.2 MB, free: 9.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0017/0.521, allocations: 499.6 kB / 468.7 MB, free: 8.992 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008713/0.5219, allocations: 27.94 kB / 468.7 MB, free: 8.965 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/0.5232, allocations: 111.9 kB / 468.8 MB, free: 8.855 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004054/0.5237, allocations: 144.8 kB / 469 MB, free: 8.715 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001227/0.5238, allocations: 47.98 kB / 469 MB, free: 8.668 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.003243/0.527, allocations: 1.747 MB / 470.8 MB, free: 6.914 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5271, allocations: 0 / 470.8 MB, free: 6.914 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002366/0.5294, allocations: 0.6586 MB / 471.4 MB, free: 6.281 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 (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.001524/0.531, allocations: 0.7873 MB / 472.2 MB, free: 5.672 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0044/0.5354, allocations: 2.645 MB / 474.8 MB, free: 2.898 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.5354, allocations: 0 / 474.8 MB, free: 2.898 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002745/0.5382, allocations: 2.021 MB / 476.9 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002924/0.5411, allocations: 0.4973 MB / 477.4 MB, free: 240 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/0.5514, allocations: 5.406 MB / 482.8 MB, free: 10.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001793/0.5532, allocations: 1.664 MB / 484.4 MB, free: 9.133 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006248/0.5538, allocations: 167.4 kB / 484.6 MB, free: 8.973 MB / 382.1 MB Notification: Performance of SimCode: time 1.603e-06/0.5539, allocations: 0 / 484.6 MB, free: 8.973 MB / 382.1 MB Notification: Performance of Templates: time 0.3456/0.8995, allocations: 154.6 MB / 0.6242 GB, free: 69.12 MB / 430.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++ 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_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