Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.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.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Q1.vbc|Q1.vbe|Q2.vbc|Q2.vbe|VCC.T0|VCC.counter|VCC.counter2|VEE.T0|VEE.counter|VEE.counter2",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Q1.vbc|Q1.vbe|Q2.vbc|Q2.vbe|VCC.T0|VCC.counter|VCC.counter2|VEE.T0|VEE.counter|VEE.counter2",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001486, 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.001568/0.001568, 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.031/2.031, 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.001361/0.001361, allocations: 47.92 kB / 280.6 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1735, allocations: 46.63 MB / 327.2 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.01412/0.1878, allocations: 8.126 MB / 335.4 MB, free: 12.73 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02085/0.2087, allocations: 11.16 MB / 346.5 MB, free: 1.527 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003375/0.2123, allocations: 19.88 kB / 346.6 MB, free: 1.508 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004299/0.2166, allocations: 0.7404 MB / 347.3 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009319/0.2259, allocations: 0.9913 MB / 348.3 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00451/0.2305, allocations: 0.5036 MB / 348.8 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008261/0.2388, allocations: 2.556 MB / 351.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001223/0.2401, allocations: 322.6 kB / 351.7 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001839/0.242, allocations: 0.4896 MB / 352.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001678/0.2437, allocations: 0.6133 MB / 352.8 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004727/0.2443, allocations: 44 kB / 352.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004722/0.249, allocations: 0.687 MB / 353.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000491/0.2495, allocations: 194.7 kB / 353.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00149/0.251, allocations: 0.7568 MB / 354.4 MB, free: 9.559 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002548/0.2536, allocations: 1.535 MB / 356 MB, free: 8.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.458e-06/0.2536, allocations: 0 / 356 MB, free: 8.02 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2536, allocations: 0 / 356 MB, free: 8.02 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.135e-05/0.2537, allocations: 0 / 356 MB, free: 8.02 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.005026/0.2587, allocations: 2.215 MB / 358.2 MB, free: 5.742 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.44e-05/0.2588, allocations: 12.03 kB / 358.2 MB, free: 5.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003454/0.2591, allocations: 218.3 kB / 358.4 MB, free: 5.516 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002217/0.2614, allocations: 1.312 MB / 359.7 MB, free: 4.129 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.168e-05/0.2614, allocations: 41.31 kB / 359.8 MB, free: 4.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.2616, allocations: 52 kB / 359.8 MB, free: 4.039 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.2632, allocations: 0.6938 MB / 360.5 MB, free: 3.332 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.2632, allocations: 3.938 kB / 360.5 MB, free: 3.328 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.917e-05/0.2633, allocations: 20 kB / 360.5 MB, free: 3.309 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.21e-05/0.2633, allocations: 23.98 kB / 360.6 MB, free: 3.285 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00143/0.2647, allocations: 0.5634 MB / 361.1 MB, free: 2.719 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005038/0.2698, allocations: 2.534 MB / 363.7 MB, free: 52 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/0.2713, allocations: 0.6154 MB / 364.3 MB, free: 15.43 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001084/0.2724, allocations: 0.5416 MB / 364.8 MB, free: 14.88 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01309/0.2855, allocations: 7.5 MB / 372.3 MB, free: 6.242 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009633/0.2865, allocations: 378 kB / 372.7 MB, free: 5.867 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 4.098e-06/0.2865, allocations: 0 / 372.7 MB, free: 5.867 MB / 318.1 MB Notification: Performance of matching and sorting (n=67): time 0.006452/0.293, allocations: 2.082 MB / 374.8 MB, free: 3.75 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/0.2931, allocations: 85.55 kB / 374.8 MB, free: 3.648 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003653/0.2968, allocations: 1.435 MB / 376.3 MB, free: 2.176 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.145e-05/0.2969, allocations: 37.7 kB / 376.3 MB, free: 2.133 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001051/0.298, allocations: 0.8015 MB / 377.1 MB, free: 1.32 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002645/0.2983, allocations: 228.8 kB / 377.3 MB, free: 1.094 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002763/0.2985, allocations: 142.5 kB / 377.5 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.00024/0.2988, allocations: 334 kB / 377.8 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006587/0.2995, allocations: 253.8 kB / 378.1 MB, free: 376 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.355/0.6545, allocations: 448.4 kB / 378.5 MB, free: 54.59 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002441/0.6571, allocations: 0.7419 MB / 379.2 MB, free: 54.36 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.005e-05/0.6571, allocations: 3.281 kB / 379.2 MB, free: 54.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004213/0.6614, allocations: 1.133 MB / 380.4 MB, free: 54.26 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.481e-05/0.6614, allocations: 7.344 kB / 380.4 MB, free: 54.26 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002711/0.6617, allocations: 75.14 kB / 380.5 MB, free: 54.26 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002077/0.6638, allocations: 0.6973 MB / 381.2 MB, free: 54.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005723/0.6644, allocations: 115.6 kB / 381.3 MB, free: 54.24 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00196/0.6664, allocations: 1.127 MB / 382.4 MB, free: 53.62 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/0.6676, allocations: 83.92 kB / 382.5 MB, free: 53.61 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/0.6677, allocations: 35.48 kB / 382.5 MB, free: 53.61 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 14 (VCC.counter,$PRE.VCC.counter,VEE.counter,$PRE.VEE.counter,VEE.counter2,$PRE.VEE.counter2,VEE.T0,$PRE.VEE.T0,VCC.counter2,$PRE.VCC.counter2,VCC.T0,$PRE.VCC.T0,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0008133/0.6685, allocations: 292.7 kB / 382.8 MB, free: 53.39 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003263/0.6689, allocations: 199.4 kB / 383 MB, free: 53.34 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003297/0.6722, allocations: 1.089 MB / 384.1 MB, free: 52.91 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.614e-05/0.6722, allocations: 5.375 kB / 384.1 MB, free: 52.91 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.6722, allocations: 1.156 kB / 384.1 MB, free: 52.91 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/0.6722, allocations: 5.688 kB / 384.1 MB, free: 52.91 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002506/0.6748, allocations: 0.9827 MB / 385.1 MB, free: 52.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001718/0.6749, allocations: 64.48 kB / 385.1 MB, free: 52.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004307/0.6754, allocations: 66.5 kB / 385.2 MB, free: 52.4 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001716/0.6771, allocations: 0.6666 MB / 385.9 MB, free: 52.29 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.177e-05/0.6772, allocations: 18.06 kB / 385.9 MB, free: 52.28 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001662/0.6789, allocations: 1.088 MB / 387 MB, free: 51.52 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.6789, allocations: 5.25 kB / 387 MB, free: 51.52 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00351/0.6824, allocations: 1.366 MB / 388.3 MB, free: 50.89 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006525/0.6831, allocations: 277.1 kB / 388.6 MB, free: 50.68 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000168/0.6832, allocations: 11.41 kB / 388.6 MB, free: 50.67 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004589/0.6837, allocations: 31.72 kB / 388.7 MB, free: 50.67 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002252/0.6839, allocations: 49.44 kB / 388.7 MB, free: 50.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.75e-05/0.684, allocations: 25.09 kB / 388.7 MB, free: 50.66 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002224/0.6863, allocations: 0.9438 MB / 389.7 MB, free: 50.28 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.082e-06/0.6863, allocations: 0 / 389.7 MB, free: 50.28 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001441/0.6877, allocations: 433.6 kB / 390.1 MB, free: 50.23 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Q1.vbe,Q1.vbc,Q2.vbe,Q2.vbc) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,VCC.T0,VCC.counter,VCC.counter2,VEE.T0,VEE.counter,VEE.counter2) * Number of discrete states: 4 (VEE.counter,VCC.counter,VEE.counter2,VCC.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,24)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001058/0.6888, allocations: 481.4 kB / 390.6 MB, free: 50.1 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002629/0.6914, allocations: 0.8539 MB / 391.4 MB, free: 49.81 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.6915, allocations: 0 / 391.4 MB, free: 49.81 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001569/0.693, allocations: 0.5183 MB / 391.9 MB, free: 49.61 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009606/0.694, allocations: 178.2 kB / 392.1 MB, free: 49.51 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006972/0.701, allocations: 3.578 MB / 395.7 MB, free: 47.56 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001079/0.7021, allocations: 1.221 MB / 396.9 MB, free: 46.82 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002293/0.7024, allocations: 76.16 kB / 397 MB, free: 46.82 MB / 318.1 MB Notification: Performance of SimCode: time 1.623e-06/0.7024, allocations: 0 / 397 MB, free: 46.82 MB / 318.1 MB Notification: Performance of Templates: time 0.04107/0.7434, allocations: 24.8 MB / 421.8 MB, free: 23.06 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.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.Spice3BenchmarkDifferentialPairCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPairCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPairCalcHelperMain.o] Error 1