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.001168/0.001168, allocations: 104.2 kB / 17.58 MB, free: 5.426 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.00124/0.00124, allocations: 183.9 kB / 18.5 MB, free: 4.512 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.285/1.285, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.001185/0.001185, allocations: 52.61 kB / 280.6 MB, free: 3.195 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08163/0.08283, allocations: 46.63 MB / 327.3 MB, free: 4.496 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.006823/0.08969, allocations: 5.141 MB / 332.4 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01085/0.1006, allocations: 8.673 MB / 341.1 MB, free: 6.613 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006036/0.1012, allocations: 15.88 kB / 341.1 MB, free: 6.598 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009359/0.1022, allocations: 373.4 kB / 341.5 MB, free: 6.23 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002173/0.1044, allocations: 0.8184 MB / 342.3 MB, free: 5.406 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001449/0.1059, allocations: 0.5791 MB / 342.9 MB, free: 4.824 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002305/0.1082, allocations: 1.65 MB / 344.5 MB, free: 3.168 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002916/0.1085, allocations: 171 kB / 344.7 MB, free: 2.988 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003812/0.1089, allocations: 278.6 kB / 345 MB, free: 2.715 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004118/0.1093, allocations: 310.1 kB / 345.3 MB, free: 2.41 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.842e-05/0.1094, allocations: 28 kB / 345.3 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00122/0.1106, allocations: 0.5659 MB / 345.8 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.1107, allocations: 103.4 kB / 345.9 MB, free: 1.715 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003679/0.1111, allocations: 405.5 kB / 346.3 MB, free: 1.316 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001372/0.1125, allocations: 1.191 MB / 347.5 MB, free: 124 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1125, allocations: 0 / 347.5 MB, free: 124 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1125, allocations: 4 kB / 347.5 MB, free: 120 kB / 286.1 MB Notification: Performance of Transformations before backend: time 2.457e-05/0.1126, allocations: 0 / 347.5 MB, free: 120 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.001859/0.1144, allocations: 1.275 MB / 348.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.1145, allocations: 8.031 kB / 348.8 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/0.1146, allocations: 111.6 kB / 348.9 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.1158, allocations: 0.8515 MB / 349.8 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.1158, allocations: 20.56 kB / 349.8 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.084e-05/0.1159, allocations: 24 kB / 349.8 MB, free: 13.72 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004842/0.1164, allocations: 307.7 kB / 350.1 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.1164, allocations: 4 kB / 350.1 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.048e-05/0.1165, allocations: 8 kB / 350.1 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.1165, allocations: 8 kB / 350.1 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004073/0.1169, allocations: 238.1 kB / 350.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001674/0.1186, allocations: 1.187 MB / 351.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003496/0.1189, allocations: 210.5 kB / 351.8 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003103/0.1193, allocations: 217.3 kB / 352 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007881/0.1271, allocations: 8.573 MB / 360.6 MB, free: 1.504 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.1272, allocations: 30.56 kB / 360.6 MB, free: 1.465 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.934e-06/0.1272, allocations: 0 / 360.6 MB, free: 1.465 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.001522/0.1287, allocations: 0.6582 MB / 361.2 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.1288, allocations: 81.11 kB / 361.3 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008647/0.1297, allocations: 0.7987 MB / 362.1 MB, free: 15.86 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.1297, allocations: 29.7 kB / 362.2 MB, free: 15.83 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003142/0.13, allocations: 440.7 kB / 362.6 MB, free: 15.39 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.617e-05/0.1301, allocations: 82.83 kB / 362.7 MB, free: 15.31 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.632e-05/0.1302, allocations: 53.94 kB / 362.7 MB, free: 15.25 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.1303, allocations: 325.9 kB / 363 MB, free: 14.93 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.1305, allocations: 64.2 kB / 363.1 MB, free: 14.87 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.1307, allocations: 150.3 kB / 363.2 MB, free: 14.69 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003391/0.1311, allocations: 229.1 kB / 363.5 MB, free: 14.43 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1311, allocations: 3.938 kB / 363.5 MB, free: 14.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006442/0.1317, allocations: 412.9 kB / 363.9 MB, free: 14.02 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1317, allocations: 4 kB / 363.9 MB, free: 14.01 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.173e-05/0.1318, allocations: 23.98 kB / 363.9 MB, free: 13.99 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003543/0.1321, allocations: 136.1 kB / 364 MB, free: 13.86 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.1323, allocations: 40.06 kB / 364.1 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006588/0.133, allocations: 0.7044 MB / 364.8 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/0.1333, allocations: 31.67 kB / 364.8 MB, free: 13.05 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-05/0.1333, allocations: 12 kB / 364.8 MB, free: 13.04 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.0002329/0.1335, allocations: 193.8 kB / 365 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.1337, allocations: 106.8 kB / 365.1 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007962/0.1345, allocations: 407.3 kB / 365.5 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-06/0.1345, allocations: 8 kB / 365.5 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1345, allocations: 0 / 365.5 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.1345, allocations: 4 kB / 365.5 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005658/0.1351, allocations: 0.5034 MB / 366 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.14e-05/0.1351, allocations: 15.98 kB / 366 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.1353, allocations: 23.91 kB / 366.1 MB, free: 11.72 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002626/0.1355, allocations: 132.8 kB / 366.2 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/0.1356, allocations: 23.92 kB / 366.2 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005474/0.1361, allocations: 0.6928 MB / 366.9 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1361, allocations: 0 / 366.9 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005523/0.1367, allocations: 459.8 kB / 367.4 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001789/0.1369, allocations: 175.8 kB / 367.5 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.706e-05/0.137, allocations: 7.938 kB / 367.5 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.1372, allocations: 4 kB / 367.5 MB, free: 10.17 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.951e-05/0.1373, allocations: 15.92 kB / 367.6 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/0.1373, allocations: 12 kB / 367.6 MB, free: 10.14 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006306/0.1379, allocations: 0.5383 MB / 368.1 MB, free: 9.598 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1379, allocations: 0 / 368.1 MB, free: 9.598 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00057/0.1385, allocations: 199.8 kB / 368.3 MB, free: 9.402 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.0005969/0.1391, allocations: 291.3 kB / 368.6 MB, free: 9.109 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006065/0.1397, allocations: 291.7 kB / 368.9 MB, free: 8.812 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1397, allocations: 0 / 368.9 MB, free: 8.812 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000296/0.14, allocations: 180.2 kB / 369.1 MB, free: 8.625 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005809/0.1406, allocations: 132.3 kB / 369.2 MB, free: 8.496 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.1425, allocations: 1.225 MB / 370.4 MB, free: 7.242 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005446/0.1431, allocations: 0.945 MB / 371.3 MB, free: 6.27 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003544/0.1434, allocations: 110.7 kB / 371.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.147e-05/0.1435, allocations: 55.42 kB / 371.5 MB, free: 6.102 MB / 318.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1435, allocations: 0 / 371.5 MB, free: 6.102 MB / 318.1 MB Notification: Performance of Templates: time 0.1524/0.2959, allocations: 9.036 MB / 380.5 MB, free: 55.18 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches