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.0008115/0.0008116, allocations: 94.56 kB / 17.3 MB, free: 6.109 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.0008018/0.0008018, allocations: 178.5 kB / 18.21 MB, free: 5.41 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.324/1.324, allocations: 205.4 MB / 224.4 MB, free: 13.06 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.0007005/0.0007007, allocations: 12 kB / 281.4 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1103, allocations: 47.58 MB / 329 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.004432/0.1148, allocations: 4.75 MB / 333.7 MB, free: 14.99 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009443/0.1242, allocations: 8.664 MB / 342.4 MB, free: 6.289 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007145/0.125, allocations: 19.88 kB / 342.4 MB, free: 6.27 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.126, allocations: 334.1 kB / 342.7 MB, free: 5.941 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00214/0.1282, allocations: 0.6833 MB / 343.4 MB, free: 5.254 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001473/0.1296, allocations: 469.9 kB / 343.9 MB, free: 4.793 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002315/0.132, allocations: 1.603 MB / 345.5 MB, free: 3.184 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002788/0.1323, allocations: 155.6 kB / 345.6 MB, free: 3.02 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003631/0.1326, allocations: 262.6 kB / 345.9 MB, free: 2.762 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000314/0.133, allocations: 302 kB / 346.2 MB, free: 2.465 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.783e-05/0.133, allocations: 16 kB / 346.2 MB, free: 2.449 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/0.1342, allocations: 0.5425 MB / 346.7 MB, free: 1.906 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.445e-05/0.1343, allocations: 91.31 kB / 346.8 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003751/0.1346, allocations: 419.2 kB / 347.2 MB, free: 1.398 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.1358, allocations: 1.156 MB / 348.4 MB, free: 244 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1358, allocations: 0 / 348.4 MB, free: 244 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1358, allocations: 0 / 348.4 MB, free: 244 kB / 286.1 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.1358, allocations: 0 / 348.4 MB, free: 244 kB / 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.001576/0.1374, allocations: 1.151 MB / 349.5 MB, free: 15.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.1375, allocations: 8.031 kB / 349.5 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.1376, allocations: 115.5 kB / 349.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.1387, allocations: 0.8516 MB / 350.5 MB, free: 14.01 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.1387, allocations: 12.56 kB / 350.5 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.508e-05/0.1388, allocations: 27.91 kB / 350.5 MB, free: 13.97 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005129/0.1393, allocations: 315.6 kB / 350.9 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.1393, allocations: 0 / 350.9 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.073e-05/0.1393, allocations: 11.94 kB / 350.9 MB, free: 13.63 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.1394, allocations: 16 kB / 350.9 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004209/0.1398, allocations: 234.1 kB / 351.1 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001669/0.1415, allocations: 1.19 MB / 352.3 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000358/0.1418, allocations: 190.7 kB / 352.5 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003326/0.1422, allocations: 237.2 kB / 352.7 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008075/0.1503, allocations: 8.581 MB / 361.3 MB, free: 1.719 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.1503, allocations: 34.55 kB / 361.3 MB, free: 1.676 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 2.315e-06/0.1503, allocations: 0 / 361.3 MB, free: 1.676 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.001589/0.1519, allocations: 0.6699 MB / 362 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.152, allocations: 81.11 kB / 362.1 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008569/0.1529, allocations: 0.8065 MB / 362.9 MB, free: 56 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.1529, allocations: 29.64 kB / 362.9 MB, free: 20 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003589/0.1533, allocations: 436.7 kB / 363.3 MB, free: 15.59 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.262e-05/0.1533, allocations: 86.83 kB / 363.4 MB, free: 15.5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-05/0.1534, allocations: 21.72 kB / 363.4 MB, free: 15.48 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.78e-05/0.1535, allocations: 321.9 kB / 363.8 MB, free: 15.16 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.1536, allocations: 68.2 kB / 363.8 MB, free: 15.09 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.1539, allocations: 146.4 kB / 364 MB, free: 14.91 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003664/0.1542, allocations: 240.9 kB / 364.2 MB, free: 14.65 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1542, allocations: 0 / 364.2 MB, free: 14.65 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006049/0.1549, allocations: 404.9 kB / 364.6 MB, free: 14.24 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1549, allocations: 7.984 kB / 364.6 MB, free: 14.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.822e-05/0.1549, allocations: 20.28 kB / 364.6 MB, free: 14.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003375/0.1553, allocations: 136.8 kB / 364.8 MB, free: 14.08 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.1554, allocations: 39.91 kB / 364.8 MB, free: 14.04 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005822/0.156, allocations: 0.7123 MB / 365.5 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002379/0.1563, allocations: 27.69 kB / 365.5 MB, free: 13.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.886e-05/0.1563, allocations: 16 kB / 365.6 MB, free: 13.26 MB / 318.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 (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 {(2,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002353/0.1566, allocations: 198 kB / 365.8 MB, free: 13.05 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.1567, allocations: 106.8 kB / 365.9 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008148/0.1575, allocations: 419.3 kB / 366.3 MB, free: 12.52 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.1575, allocations: 4 kB / 366.3 MB, free: 12.52 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1576, allocations: 0 / 366.3 MB, free: 12.52 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1576, allocations: 0 / 366.3 MB, free: 12.52 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000558/0.1581, allocations: 0.5073 MB / 366.8 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.211e-05/0.1582, allocations: 19.92 kB / 366.8 MB, free: 11.95 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.1583, allocations: 23.92 kB / 366.8 MB, free: 11.92 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000273/0.1586, allocations: 131.6 kB / 366.9 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.1586, allocations: 11.98 kB / 367 MB, free: 11.78 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005622/0.1592, allocations: 0.7011 MB / 367.7 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1592, allocations: 3.938 kB / 367.7 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005528/0.1597, allocations: 459.8 kB / 368.1 MB, free: 10.58 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/0.1599, allocations: 175.8 kB / 368.3 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.105e-05/0.16, allocations: 0 / 368.3 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/0.1602, allocations: 8 kB / 368.3 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.272e-05/0.1603, allocations: 15.92 kB / 368.3 MB, free: 10.37 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.1603, allocations: 16 kB / 368.3 MB, free: 10.35 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005682/0.1609, allocations: 0.5383 MB / 368.9 MB, free: 9.805 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1609, allocations: 0 / 368.9 MB, free: 9.805 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005187/0.1614, allocations: 199.8 kB / 369.1 MB, free: 9.609 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 (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 {(2,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000457/0.1619, allocations: 303.4 kB / 369.4 MB, free: 9.305 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005628/0.1624, allocations: 283.8 kB / 369.6 MB, free: 9.016 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1625, allocations: 0 / 369.6 MB, free: 9.016 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000305/0.1628, allocations: 187.3 kB / 369.8 MB, free: 8.82 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005793/0.1634, allocations: 124.3 kB / 369.9 MB, free: 8.699 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.1651, allocations: 1.497 MB / 371.4 MB, free: 7.172 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004181/0.1656, allocations: 0.9413 MB / 372.4 MB, free: 6.203 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003427/0.1659, allocations: 110.7 kB / 372.5 MB, free: 6.09 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.931e-05/0.166, allocations: 55.42 kB / 372.5 MB, free: 6.035 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.166, allocations: 0 / 372.5 MB, free: 6.035 MB / 318.1 MB Notification: Performance of Templates: time 0.1627/0.3287, allocations: 8.691 MB / 381.2 MB, free: 53.78 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile (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) 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