Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002152/0.002152, allocations: 178.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.002/2.002, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001178/0.001178, allocations: 89.28 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.237e-05/2.245e-05, allocations: 0 / 314.8 MB, free: 9.156 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3309, allocations: 47.57 MB / 362.3 MB, free: 45.82 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1418/0.4727, allocations: 89.04 MB / 451.4 MB, free: 13.26 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/0.4731, allocations: 71.95 kB / 451.4 MB, free: 13.19 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1666/0.6398, allocations: 32.66 MB / 484.1 MB, free: 12.35 MB / 379.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.6398, allocations: 192 / 484.1 MB, free: 12.35 MB / 379.1 MB Notification: Performance of Transformations before backend: time 4.29e-05/0.6399, allocations: 20 kB / 484.1 MB, free: 12.33 MB / 379.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.003261/0.6432, allocations: 1.038 MB / 485.2 MB, free: 11.25 MB / 379.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.435e-05/0.6433, allocations: 11.97 kB / 485.2 MB, free: 11.24 MB / 379.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000387/0.6437, allocations: 111.6 kB / 485.3 MB, free: 11.13 MB / 379.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002839/0.6466, allocations: 0.7544 MB / 486 MB, free: 10.32 MB / 379.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.495e-05/0.6467, allocations: 8 kB / 486 MB, free: 10.31 MB / 379.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.6468, allocations: 16 kB / 486.1 MB, free: 10.3 MB / 379.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009194/0.6477, allocations: 209.1 kB / 486.3 MB, free: 10.09 MB / 379.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009587/0.6487, allocations: 262.5 kB / 486.5 MB, free: 9.824 MB / 379.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.6488, allocations: 0 / 486.5 MB, free: 9.824 MB / 379.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.056e-05/0.6489, allocations: 0 / 486.5 MB, free: 9.824 MB / 379.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.197e-05/0.6489, allocations: 8 kB / 486.5 MB, free: 9.816 MB / 379.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004505/0.6535, allocations: 1.141 MB / 487.7 MB, free: 8.613 MB / 379.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006982/0.6542, allocations: 187.3 kB / 487.9 MB, free: 8.426 MB / 379.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006725/0.6549, allocations: 209.3 kB / 488.1 MB, free: 8.215 MB / 379.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02573/0.6807, allocations: 10.76 MB / 498.8 MB, free: 11.62 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.5e-05/0.6808, allocations: 34.5 kB / 498.9 MB, free: 11.57 MB / 395.1 MB Notification: Performance of pre-optimization done (n=23): time 5.551e-06/0.6808, allocations: 4 kB / 498.9 MB, free: 11.57 MB / 395.1 MB Notification: Performance of matching and sorting (n=23): time 0.001508/0.6824, allocations: 333.2 kB / 499.2 MB, free: 11.23 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.994e-05/0.6825, allocations: 81.11 kB / 499.3 MB, free: 11.14 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001723/0.6842, allocations: 0.6011 MB / 499.9 MB, free: 10.52 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 7.638e-05/0.6843, allocations: 25.7 kB / 499.9 MB, free: 10.49 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006255/0.685, allocations: 418.4 kB / 0.4886 GB, free: 10.08 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.6852, allocations: 82.75 kB / 0.4887 GB, free: 9.996 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.669e-05/0.6852, allocations: 0 / 0.4887 GB, free: 9.996 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0002553/0.6855, allocations: 318.8 kB / 0.489 GB, free: 9.676 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002912/0.6858, allocations: 60.5 kB / 0.489 GB, free: 9.617 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003633/0.6862, allocations: 130.6 kB / 0.4891 GB, free: 9.457 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004141/0.6866, allocations: 81.48 kB / 0.4892 GB, free: 9.379 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.543e-06/0.6867, allocations: 32 / 0.4892 GB, free: 9.379 MB / 395.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.00117/0.6878, allocations: 270.1 kB / 0.4895 GB, free: 9.105 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.28e-05/0.6879, allocations: 8 kB / 0.4895 GB, free: 9.098 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-05/0.688, allocations: 12 kB / 0.4895 GB, free: 9.086 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008609/0.6889, allocations: 143.5 kB / 0.4896 GB, free: 8.945 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004644/0.6894, allocations: 35.97 kB / 0.4897 GB, free: 8.91 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001538/0.6909, allocations: 0.7201 MB / 0.4904 GB, free: 8.164 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008821/0.6919, allocations: 23.81 kB / 0.4904 GB, free: 8.141 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.043e-05/0.692, allocations: 17.03 kB / 0.4904 GB, free: 8.125 MB / 395.1 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.0002862/0.6923, allocations: 121.8 kB / 0.4905 GB, free: 8 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002979/0.6926, allocations: 98.88 kB / 0.4906 GB, free: 7.902 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002199/0.6948, allocations: 392.2 kB / 0.491 GB, free: 7.512 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.745e-05/0.6949, allocations: 3.984 kB / 0.491 GB, free: 7.508 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.6949, allocations: 4 kB / 0.491 GB, free: 7.504 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.945e-05/0.695, allocations: 4 kB / 0.491 GB, free: 7.5 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/0.6965, allocations: 471 kB / 0.4915 GB, free: 7.004 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.489e-05/0.6966, allocations: 15.98 kB / 0.4915 GB, free: 6.988 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003674/0.697, allocations: 15.98 kB / 0.4915 GB, free: 6.973 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007705/0.6977, allocations: 136.8 kB / 0.4916 GB, free: 6.836 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.433e-05/0.6978, allocations: 7.562 kB / 0.4916 GB, free: 6.832 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001502/0.6993, allocations: 0.7184 MB / 0.4923 GB, free: 6.09 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-05/0.6994, allocations: 0 / 0.4923 GB, free: 6.09 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001451/0.7009, allocations: 443.8 kB / 0.4927 GB, free: 5.641 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005353/0.7014, allocations: 171.8 kB / 0.4929 GB, free: 5.453 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002076/0.7017, allocations: 4 kB / 0.4929 GB, free: 5.449 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000703/0.7024, allocations: 7.938 kB / 0.4929 GB, free: 5.441 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.7025, allocations: 15.92 kB / 0.4929 GB, free: 5.426 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-05/0.7026, allocations: 11.98 kB / 0.4929 GB, free: 5.414 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001371/0.704, allocations: 478.8 kB / 0.4934 GB, free: 4.938 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.192e-06/0.704, allocations: 0 / 0.4934 GB, free: 4.938 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.001567/0.7056, allocations: 199.7 kB / 0.4936 GB, free: 4.742 MB / 395.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 () * 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.001162/0.7068, allocations: 325.8 kB / 0.4939 GB, free: 4.418 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.001182/0.708, allocations: 255.7 kB / 0.4941 GB, free: 4.156 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.7081, allocations: 0 / 0.4941 GB, free: 4.156 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006332/0.7087, allocations: 167.2 kB / 0.4943 GB, free: 3.98 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/0.7102, allocations: 115.3 kB / 0.4944 GB, free: 3.871 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003697/0.7139, allocations: 0.8594 MB / 0.4953 GB, free: 2.977 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009605/0.7149, allocations: 0.9604 MB / 0.4962 GB, free: 1.988 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002188/0.7152, allocations: 43.44 kB / 0.4962 GB, free: 1.945 MB / 395.1 MB Notification: Performance of SimCode: time 1.873e-06/0.7152, allocations: 4 kB / 0.4962 GB, free: 1.941 MB / 395.1 MB Notification: Performance of Templates: time 0.3417/1.057, allocations: 13.5 MB / 0.5094 GB, free: 108.4 MB / 395.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CascodeCircuit --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CascodeCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches