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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 189.9 kB / 8.482 MB, free: 1.789 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.177/1.177, allocations: 205.2 MB / 214.1 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008694/0.0008693, allocations: 88.14 kB / 262.1 MB, free: 13.55 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.092e-06/6.122e-06, allocations: 0 / 315 MB, free: 8.613 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2027, allocations: 47.55 MB / 362.5 MB, free: 45.87 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09462/0.2974, allocations: 88.97 MB / 451.5 MB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002108/0.2976, allocations: 71.97 kB / 451.6 MB, free: 12.87 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.07431/0.372, allocations: 32.66 MB / 484.2 MB, free: 12.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.721e-05/0.372, allocations: 12 kB / 484.2 MB, free: 12.02 MB / 378.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.001454/0.3735, allocations: 1.046 MB / 485.3 MB, free: 10.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3735, allocations: 8.031 kB / 485.3 MB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/0.3737, allocations: 126.5 kB / 485.4 MB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.3747, allocations: 0.739 MB / 486.2 MB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.3747, allocations: 8 kB / 486.2 MB, free: 10 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.883e-05/0.3748, allocations: 15.91 kB / 486.2 MB, free: 9.984 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003668/0.3752, allocations: 209.1 kB / 486.4 MB, free: 9.781 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003973/0.3756, allocations: 262.9 kB / 486.6 MB, free: 9.512 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.3756, allocations: 4 kB / 486.6 MB, free: 9.508 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.3756, allocations: 0 / 486.6 MB, free: 9.508 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.3756, allocations: 4 kB / 486.6 MB, free: 9.504 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001707/0.3774, allocations: 1.144 MB / 487.8 MB, free: 8.297 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/0.3776, allocations: 141.7 kB / 487.9 MB, free: 8.152 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002718/0.3779, allocations: 207.8 kB / 488.1 MB, free: 7.945 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01097/0.3889, allocations: 10.71 MB / 498.8 MB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.389, allocations: 42.45 kB / 498.9 MB, free: 11.34 MB / 394.7 MB Notification: Performance of pre-optimization done (n=23): time 2.685e-06/0.389, allocations: 0 / 498.9 MB, free: 11.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=23): time 0.0006983/0.3897, allocations: 337.3 kB / 499.2 MB, free: 11 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.3897, allocations: 77.11 kB / 499.3 MB, free: 10.91 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007916/0.3905, allocations: 0.605 MB / 499.9 MB, free: 10.29 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.3906, allocations: 29.7 kB / 499.9 MB, free: 10.25 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.3907, allocations: 244.2 kB / 0.4884 GB, free: 10.01 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.384e-05/0.3908, allocations: 74.84 kB / 0.4885 GB, free: 9.938 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.281e-05/0.3908, allocations: 0 / 0.4885 GB, free: 9.938 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.991e-05/0.3909, allocations: 318 kB / 0.4888 GB, free: 9.621 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.413e-05/0.391, allocations: 53.25 kB / 0.4889 GB, free: 9.57 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.3912, allocations: 137.6 kB / 0.489 GB, free: 9.402 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.3913, allocations: 81.02 kB / 0.4891 GB, free: 9.324 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3913, allocations: 0 / 0.4891 GB, free: 9.324 MB / 394.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005391/0.3919, allocations: 366.6 kB / 0.4894 GB, free: 8.957 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.3919, allocations: 4 kB / 0.4894 GB, free: 8.953 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.965e-05/0.3919, allocations: 16 kB / 0.4894 GB, free: 8.938 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003761/0.3923, allocations: 137.1 kB / 0.4896 GB, free: 8.801 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.3925, allocations: 37.03 kB / 0.4896 GB, free: 8.766 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006954/0.3932, allocations: 0.7318 MB / 0.4903 GB, free: 8.008 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003222/0.3936, allocations: 15.84 kB / 0.4903 GB, free: 7.992 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.793e-05/0.3936, allocations: 23.98 kB / 0.4904 GB, free: 7.969 MB / 394.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.0001583/0.3938, allocations: 116.8 kB / 0.4905 GB, free: 7.848 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.3939, allocations: 98.88 kB / 0.4906 GB, free: 7.75 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/0.395, allocations: 439.3 kB / 0.491 GB, free: 7.312 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.395, allocations: 4 kB / 0.491 GB, free: 7.309 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.395, allocations: 3.938 kB / 0.491 GB, free: 7.305 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.395, allocations: 7.891 kB / 0.491 GB, free: 7.297 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005978/0.3956, allocations: 467.1 kB / 0.4915 GB, free: 6.801 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.53e-05/0.3956, allocations: 12 kB / 0.4915 GB, free: 6.789 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.3958, allocations: 21.2 kB / 0.4915 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003253/0.3961, allocations: 136.9 kB / 0.4916 GB, free: 6.633 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.3961, allocations: 7.984 kB / 0.4916 GB, free: 6.625 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006607/0.3968, allocations: 0.7246 MB / 0.4923 GB, free: 5.875 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.3968, allocations: 3.906 kB / 0.4923 GB, free: 5.871 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005508/0.3974, allocations: 436.8 kB / 0.4927 GB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002193/0.3976, allocations: 171.9 kB / 0.4929 GB, free: 5.238 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.3977, allocations: 4.062 kB / 0.4929 GB, free: 5.234 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002505/0.398, allocations: 11.98 kB / 0.4929 GB, free: 5.223 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.065e-05/0.398, allocations: 15.94 kB / 0.4929 GB, free: 5.207 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/0.3981, allocations: 8 kB / 0.4929 GB, free: 5.199 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0005414/0.3986, allocations: 470.9 kB / 0.4934 GB, free: 4.73 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006328/0.3993, allocations: 207.7 kB / 0.4936 GB, free: 4.527 MB / 394.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.0005064/0.3998, allocations: 333 kB / 0.4939 GB, free: 4.195 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004923/0.4003, allocations: 256.2 kB / 0.4942 GB, free: 3.934 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4003, allocations: 0 / 0.4942 GB, free: 3.934 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002485/0.4005, allocations: 158.2 kB / 0.4943 GB, free: 3.77 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/0.401, allocations: 124.9 kB / 0.4944 GB, free: 3.652 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.4026, allocations: 0.8304 MB / 0.4952 GB, free: 2.789 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005342/0.4032, allocations: 1.003 MB / 0.4962 GB, free: 1.758 MB / 394.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4032, allocations: 0 / 0.4962 GB, free: 1.758 MB / 394.7 MB Notification: Performance of Templates: time 0.1001/0.5033, allocations: 8.223 MB / 0.5042 GB, free: 149.6 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