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.001128/0.001128, allocations: 105.5 kB / 18.35 MB, free: 4.762 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.001016/0.001016, allocations: 192 kB / 19.29 MB, free: 3.832 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.318/1.318, allocations: 205.1 MB / 225.2 MB, free: 12.27 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.001188/0.001188, allocations: 55.92 kB / 282.1 MB, free: 2.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07935/0.08055, allocations: 46.62 MB / 328.7 MB, free: 3.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.005311/0.08589, allocations: 5.148 MB / 333.9 MB, free: 14.61 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008427/0.09433, allocations: 8.672 MB / 342.5 MB, free: 5.902 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003555/0.09471, allocations: 39.69 kB / 342.6 MB, free: 5.863 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007469/0.09549, allocations: 373.4 kB / 343 MB, free: 5.496 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001544/0.09705, allocations: 0.8106 MB / 343.8 MB, free: 4.68 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.09816, allocations: 0.5869 MB / 344.3 MB, free: 4.09 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001994/0.1002, allocations: 1.642 MB / 346 MB, free: 2.441 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002394/0.1004, allocations: 167 kB / 346.2 MB, free: 2.266 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002709/0.1007, allocations: 286.6 kB / 346.4 MB, free: 1.984 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003372/0.101, allocations: 322 kB / 346.7 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.933e-05/0.1011, allocations: 32 kB / 346.8 MB, free: 1.637 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.1021, allocations: 0.5543 MB / 347.3 MB, free: 1.082 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.804e-05/0.1022, allocations: 99.33 kB / 347.4 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003102/0.1025, allocations: 413.4 kB / 347.8 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001201/0.1038, allocations: 1.203 MB / 349 MB, free: 15.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1038, allocations: 4 kB / 349 MB, free: 15.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1038, allocations: 0 / 349 MB, free: 15.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.1038, allocations: 0 / 349 MB, free: 15.37 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001784/0.1056, allocations: 1.279 MB / 350.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.1056, allocations: 8.031 kB / 350.3 MB, free: 14.03 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.1057, allocations: 111.6 kB / 350.4 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/0.1069, allocations: 0.8554 MB / 351.3 MB, free: 13.01 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.1069, allocations: 20.56 kB / 351.3 MB, free: 12.99 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.35e-05/0.107, allocations: 24 kB / 351.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004668/0.1074, allocations: 311.7 kB / 351.6 MB, free: 12.65 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1075, allocations: 0 / 351.6 MB, free: 12.65 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.624e-05/0.1075, allocations: 8 kB / 351.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.1075, allocations: 8 kB / 351.7 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003942/0.1079, allocations: 230.1 kB / 351.9 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001558/0.1095, allocations: 1.183 MB / 353.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003376/0.1098, allocations: 198.6 kB / 353.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002893/0.1101, allocations: 221.3 kB / 353.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007735/0.1179, allocations: 8.557 MB / 362 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.1179, allocations: 42.56 kB / 362.1 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.734e-06/0.1179, allocations: 0 / 362.1 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.001489/0.1194, allocations: 0.6621 MB / 362.7 MB, free: 40 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.149e-05/0.1195, allocations: 77.11 kB / 362.8 MB, free: 15.95 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008474/0.1204, allocations: 0.7948 MB / 363.6 MB, free: 15.13 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.1204, allocations: 33.7 kB / 363.6 MB, free: 15.09 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000351/0.1208, allocations: 444.6 kB / 364.1 MB, free: 14.66 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.161e-05/0.1208, allocations: 74.84 kB / 364.1 MB, free: 14.58 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.731e-05/0.1209, allocations: 57.94 kB / 364.2 MB, free: 14.52 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.121, allocations: 321.9 kB / 364.5 MB, free: 14.2 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.1212, allocations: 72.2 kB / 364.6 MB, free: 14.13 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.1214, allocations: 146.4 kB / 364.7 MB, free: 13.95 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003228/0.1217, allocations: 237 kB / 365 MB, free: 13.69 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.1217, allocations: 0 / 365 MB, free: 13.69 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005584/0.1223, allocations: 404.8 kB / 365.4 MB, free: 13.29 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.1223, allocations: 8 kB / 365.4 MB, free: 13.28 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.809e-05/0.1224, allocations: 20.22 kB / 365.4 MB, free: 13.26 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003532/0.1227, allocations: 136.8 kB / 365.5 MB, free: 13.12 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.1229, allocations: 43.91 kB / 365.6 MB, free: 13.08 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006138/0.1235, allocations: 0.7077 MB / 366.3 MB, free: 12.35 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/0.1238, allocations: 27.69 kB / 366.3 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/0.1238, allocations: 19.92 kB / 366.3 MB, free: 12.3 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.0002227/0.124, allocations: 189.8 kB / 366.5 MB, free: 12.11 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.1242, allocations: 110.7 kB / 366.6 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007277/0.1249, allocations: 411.3 kB / 367 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1249, allocations: 0 / 367 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1249, allocations: 4 kB / 367 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.1249, allocations: 3.984 kB / 367 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005343/0.1255, allocations: 0.5034 MB / 367.5 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.038e-05/0.1255, allocations: 12 kB / 367.5 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.1256, allocations: 27.91 kB / 367.6 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002528/0.1259, allocations: 128.8 kB / 367.7 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.1259, allocations: 4 kB / 367.7 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005647/0.1265, allocations: 0.7123 MB / 368.4 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1265, allocations: 0 / 368.4 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005561/0.1271, allocations: 451.8 kB / 368.8 MB, free: 9.645 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002143/0.1273, allocations: 171.8 kB / 369 MB, free: 9.457 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.734e-05/0.1274, allocations: 0 / 369 MB, free: 9.457 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/0.1276, allocations: 16.05 kB / 369 MB, free: 9.441 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.464e-05/0.1276, allocations: 19.92 kB / 369 MB, free: 9.422 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.1277, allocations: 15.94 kB / 369.1 MB, free: 9.406 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005496/0.1282, allocations: 0.5383 MB / 369.6 MB, free: 8.859 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1282, allocations: 3.938 kB / 369.6 MB, free: 8.855 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005216/0.1288, allocations: 195.8 kB / 369.8 MB, free: 8.664 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.0004418/0.1292, allocations: 295.3 kB / 370.1 MB, free: 8.367 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005324/0.1298, allocations: 279.8 kB / 370.4 MB, free: 8.082 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1298, allocations: 3.938 kB / 370.4 MB, free: 8.078 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002655/0.13, allocations: 179.7 kB / 370.5 MB, free: 7.891 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005405/0.1306, allocations: 141.2 kB / 370.7 MB, free: 7.754 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.1322, allocations: 1.213 MB / 371.9 MB, free: 6.512 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/0.1326, allocations: 0.945 MB / 372.8 MB, free: 5.539 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002369/0.1329, allocations: 110.7 kB / 372.9 MB, free: 5.426 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.525e-05/0.133, allocations: 47.44 kB / 373 MB, free: 5.379 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.133, allocations: 0 / 373 MB, free: 5.379 MB / 318.1 MB Notification: Performance of Templates: time 0.1401/0.2731, allocations: 9.04 MB / 382 MB, free: 54.13 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","/var/lib/jenkins1/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