Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.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.CascodeCircuit,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|J2.D.v|RC.v|J1.D.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit") translateModel(Modelica.Electrical.Spice3.Examples.CascodeCircuit,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|J2.D.v|RC.v|J1.D.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 99.16 kB / 16.94 MB, free: 5.98 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.001427/0.001427, allocations: 181.6 kB / 17.82 MB, free: 5.652 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.537/1.537, allocations: 205.4 MB / 224 MB, free: 13.18 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.0004962/0.0004964, allocations: 20 kB / 280.8 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1098, allocations: 47.57 MB / 328.3 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.004351/0.1142, allocations: 4.141 MB / 332.5 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008531/0.1227, allocations: 7.434 MB / 339.9 MB, free: 8.488 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006182/0.1234, allocations: 23.88 kB / 339.9 MB, free: 8.465 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008392/0.1243, allocations: 302.6 kB / 340.2 MB, free: 8.168 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002147/0.1264, allocations: 0.744 MB / 341 MB, free: 7.422 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.1277, allocations: 462.6 kB / 341.4 MB, free: 6.969 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002513/0.1302, allocations: 1.591 MB / 343 MB, free: 5.375 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002703/0.1305, allocations: 139 kB / 343.1 MB, free: 5.227 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003128/0.1308, allocations: 250.7 kB / 343.4 MB, free: 4.98 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003508/0.1312, allocations: 282.3 kB / 343.7 MB, free: 4.703 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.169e-05/0.1312, allocations: 16 kB / 343.7 MB, free: 4.688 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001175/0.1324, allocations: 0.5543 MB / 344.2 MB, free: 4.133 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.193e-05/0.1325, allocations: 79.45 kB / 344.3 MB, free: 4.055 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001441/0.1327, allocations: 201.1 kB / 344.5 MB, free: 3.852 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007802/0.1335, allocations: 0.8374 MB / 345.3 MB, free: 3.012 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1335, allocations: 3.938 kB / 345.3 MB, free: 3.008 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1335, allocations: 0 / 345.3 MB, free: 3.008 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.427e-06/0.1335, allocations: 0 / 345.3 MB, free: 3.008 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.00161/0.1351, allocations: 1.155 MB / 346.5 MB, free: 1.801 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/0.1352, allocations: 12.03 kB / 346.5 MB, free: 1.789 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.1353, allocations: 110.7 kB / 346.6 MB, free: 1.68 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.1365, allocations: 0.809 MB / 347.4 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/0.1366, allocations: 20.56 kB / 347.5 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.569e-05/0.1366, allocations: 27.94 kB / 347.5 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005235/0.1372, allocations: 307.7 kB / 347.8 MB, free: 468 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1372, allocations: 0 / 347.8 MB, free: 468 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.278e-05/0.1372, allocations: 12 kB / 347.8 MB, free: 456 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.1372, allocations: 11.98 kB / 347.8 MB, free: 444 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000395/0.1376, allocations: 230.1 kB / 348 MB, free: 212 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/0.1394, allocations: 1.194 MB / 349.2 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003565/0.1398, allocations: 206.5 kB / 349.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00846/0.1483, allocations: 8.616 MB / 358 MB, free: 4.715 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.1484, allocations: 34.52 kB / 358.1 MB, free: 4.672 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 3.016e-06/0.1484, allocations: 4 kB / 358.1 MB, free: 4.668 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.00159/0.15, allocations: 0.6504 MB / 358.7 MB, free: 3.988 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/0.15, allocations: 81.11 kB / 358.8 MB, free: 3.891 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008836/0.1509, allocations: 0.7831 MB / 359.6 MB, free: 3.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.151, allocations: 33.64 kB / 359.6 MB, free: 3.051 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003552/0.1513, allocations: 444.6 kB / 360.1 MB, free: 2.613 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.215e-05/0.1514, allocations: 78.83 kB / 360.1 MB, free: 2.535 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.271e-05/0.1514, allocations: 4 kB / 360.1 MB, free: 2.531 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.1516, allocations: 321.9 kB / 360.5 MB, free: 2.211 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.1517, allocations: 76.2 kB / 360.5 MB, free: 2.137 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/0.152, allocations: 133.9 kB / 360.7 MB, free: 1.973 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.1522, allocations: 96.42 kB / 360.8 MB, free: 1.879 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1522, allocations: 0 / 360.8 MB, free: 1.879 MB / 302.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005684/0.1528, allocations: 404.9 kB / 361.1 MB, free: 1.473 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.1528, allocations: 7.938 kB / 361.2 MB, free: 1.465 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.692e-05/0.1528, allocations: 16 kB / 361.2 MB, free: 1.449 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003603/0.1532, allocations: 149 kB / 361.3 MB, free: 1.301 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.1534, allocations: 35.97 kB / 361.4 MB, free: 1.266 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006225/0.154, allocations: 0.7155 MB / 362.1 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.1542, allocations: 27.84 kB / 362.1 MB, free: 0.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.267e-05/0.1543, allocations: 12 kB / 362.1 MB, free: 500 kB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002398/0.1545, allocations: 194 kB / 362.3 MB, free: 296 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.1546, allocations: 106.7 kB / 362.4 MB, free: 188 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008471/0.1555, allocations: 419.6 kB / 362.8 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.1555, allocations: 4 kB / 362.8 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1555, allocations: 0 / 362.8 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1555, allocations: 0 / 362.8 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006017/0.1561, allocations: 0.515 MB / 363.3 MB, free: 15.19 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.919e-05/0.1562, allocations: 15.94 kB / 363.3 MB, free: 15.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.1563, allocations: 19.97 kB / 363.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002636/0.1566, allocations: 128.7 kB / 363.5 MB, free: 15.03 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.1566, allocations: 11.98 kB / 363.5 MB, free: 15.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006044/0.1572, allocations: 0.7011 MB / 364.2 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1572, allocations: 0 / 364.2 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000571/0.1578, allocations: 460.2 kB / 364.7 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002157/0.158, allocations: 167.9 kB / 364.8 MB, free: 13.64 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.976e-05/0.1581, allocations: 7.953 kB / 364.8 MB, free: 13.63 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/0.1583, allocations: 11.98 kB / 364.8 MB, free: 13.62 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.634e-05/0.1584, allocations: 11.98 kB / 364.8 MB, free: 13.61 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/0.1584, allocations: 12 kB / 364.9 MB, free: 13.59 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005958/0.159, allocations: 0.5266 MB / 365.4 MB, free: 13.06 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.159, allocations: 0 / 365.4 MB, free: 13.06 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000634/0.1597, allocations: 199.7 kB / 365.6 MB, free: 12.86 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004738/0.1602, allocations: 275.4 kB / 365.8 MB, free: 12.59 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000592/0.1608, allocations: 283.2 kB / 366.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1608, allocations: 0.5625 kB / 366.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002897/0.1611, allocations: 191.8 kB / 366.3 MB, free: 12.1 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004724/0.1616, allocations: 132.3 kB / 366.4 MB, free: 11.97 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.1636, allocations: 1.391 MB / 367.8 MB, free: 10.55 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005993/0.1642, allocations: 0.9646 MB / 368.8 MB, free: 9.555 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003587/0.1646, allocations: 110.7 kB / 368.9 MB, free: 9.441 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.58e-05/0.1647, allocations: 47.44 kB / 369 MB, free: 9.395 MB / 318.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1647, allocations: 0 / 369 MB, free: 9.395 MB / 318.1 MB Notification: Performance of Templates: time 0.01582/0.1805, allocations: 8.125 MB / 377.1 MB, free: 1.273 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches