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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001479/0.001479, allocations: 178.4 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001082/0.001082, allocations: 82.7 kB / 262.4 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.714e-05/1.717e-05, allocations: 4 kB / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1227, allocations: 47.59 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4902/0.6129, allocations: 89.27 MB / 452.3 MB, free: 6.504 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003281/0.6133, allocations: 71.72 kB / 452.4 MB, free: 6.469 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07514/0.6885, allocations: 32.67 MB / 485.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.6885, allocations: 0 / 485.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.075e-05/0.6886, allocations: 16 kB / 485.1 MB, free: 11.46 MB / 362.7 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.002137/0.6907, allocations: 1.036 MB / 486.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.6908, allocations: 12.03 kB / 486.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002929/0.6911, allocations: 114.7 kB / 486.3 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/0.6925, allocations: 0.7505 MB / 487 MB, free: 9.445 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.6925, allocations: 8 kB / 487 MB, free: 9.438 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.483e-05/0.6926, allocations: 15.98 kB / 487 MB, free: 9.422 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004895/0.6931, allocations: 205.1 kB / 487.2 MB, free: 9.223 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004871/0.6936, allocations: 262.6 kB / 487.5 MB, free: 8.953 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.6936, allocations: 0 / 487.5 MB, free: 8.953 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/0.6937, allocations: 0 / 487.5 MB, free: 8.953 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.919e-05/0.6937, allocations: 11.98 kB / 487.5 MB, free: 8.941 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001979/0.6957, allocations: 1.14 MB / 488.6 MB, free: 7.738 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003006/0.696, allocations: 178.6 kB / 488.8 MB, free: 7.555 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002732/0.6963, allocations: 221.3 kB / 489 MB, free: 7.332 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01175/0.708, allocations: 10.76 MB / 499.8 MB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.7081, allocations: 34.56 kB / 499.8 MB, free: 10.69 MB / 378.7 MB Notification: Performance of pre-optimization done (n=23): time 3.877e-06/0.7081, allocations: 4 kB / 499.8 MB, free: 10.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007914/0.7089, allocations: 337.8 kB / 0.4884 GB, free: 10.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.709, allocations: 81.11 kB / 0.4885 GB, free: 10.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008755/0.7099, allocations: 0.6011 MB / 0.4891 GB, free: 9.633 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.7099, allocations: 25.7 kB / 0.4891 GB, free: 9.602 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003529/0.7103, allocations: 428.3 kB / 0.4895 GB, free: 9.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.781e-05/0.7104, allocations: 86.75 kB / 0.4896 GB, free: 9.094 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.341e-05/0.7104, allocations: 0 / 0.4896 GB, free: 9.094 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.7105, allocations: 314 kB / 0.4899 GB, free: 8.781 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.7106, allocations: 60.5 kB / 0.49 GB, free: 8.723 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.7108, allocations: 134.6 kB / 0.4901 GB, free: 8.559 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.7109, allocations: 83.7 kB / 0.4902 GB, free: 8.477 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.7109, allocations: 0 / 0.4902 GB, free: 8.477 MB / 378.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005618/0.7115, allocations: 357.1 kB / 0.4905 GB, free: 8.117 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.7115, allocations: 4 kB / 0.4905 GB, free: 8.113 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.147e-05/0.7116, allocations: 23.92 kB / 0.4906 GB, free: 8.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003611/0.712, allocations: 137 kB / 0.4907 GB, free: 7.953 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.7121, allocations: 35.97 kB / 0.4907 GB, free: 7.918 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006892/0.7128, allocations: 0.7201 MB / 0.4914 GB, free: 7.172 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003589/0.7132, allocations: 23.81 kB / 0.4914 GB, free: 7.148 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.32e-05/0.7133, allocations: 19.98 kB / 0.4915 GB, free: 7.129 MB / 378.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: J1.Dinternal:VARIABLE(unit = "V" ) type: Real 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 () * 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.0001664/0.7134, allocations: 109.3 kB / 0.4916 GB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/0.7136, allocations: 98.88 kB / 0.4917 GB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008368/0.7144, allocations: 391.2 kB / 0.492 GB, free: 6.523 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.7145, allocations: 4 kB / 0.492 GB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.7145, allocations: 3.938 kB / 0.492 GB, free: 6.516 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.7145, allocations: 7.984 kB / 0.492 GB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006484/0.7151, allocations: 478.9 kB / 0.4925 GB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.24e-05/0.7152, allocations: 12 kB / 0.4925 GB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.7153, allocations: 15.98 kB / 0.4925 GB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002857/0.7156, allocations: 135.6 kB / 0.4927 GB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.7156, allocations: 11.98 kB / 0.4927 GB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006703/0.7163, allocations: 0.7163 MB / 0.4934 GB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.7163, allocations: 0 / 0.4934 GB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006152/0.7169, allocations: 441 kB / 0.4938 GB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000264/0.7172, allocations: 171.9 kB / 0.494 GB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.7173, allocations: 0 / 0.494 GB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002408/0.7176, allocations: 7.938 kB / 0.494 GB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.922e-05/0.7177, allocations: 15.97 kB / 0.494 GB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-05/0.7177, allocations: 11.94 kB / 0.494 GB, free: 4.418 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005994/0.7183, allocations: 482.8 kB / 0.4945 GB, free: 3.938 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7183, allocations: 3.938 kB / 0.4945 GB, free: 3.934 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007769/0.7191, allocations: 203.6 kB / 0.4946 GB, free: 3.734 MB / 378.7 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 () * 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.0007515/0.7198, allocations: 323.5 kB / 0.495 GB, free: 3.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005408/0.7204, allocations: 251.1 kB / 0.4952 GB, free: 3.152 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.7204, allocations: 4.562 kB / 0.4952 GB, free: 3.148 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002551/0.7207, allocations: 163.3 kB / 0.4954 GB, free: 2.977 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005572/0.7212, allocations: 116.2 kB / 0.4955 GB, free: 2.863 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.723, allocations: 0.8227 MB / 0.4963 GB, free: 2.012 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006115/0.7236, allocations: 0.9565 MB / 0.4972 GB, free: 1.027 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003953/0.724, allocations: 93.94 kB / 0.4973 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.18e-05/0.7241, allocations: 43.44 kB / 0.4973 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.7241, allocations: 0 / 0.4973 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of Templates: time 0.01816/0.7423, allocations: 7.843 MB / 0.505 GB, free: 9.043 MB / 394.7 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