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.003381/0.003381, allocations: 182.6 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.906/2.906, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.00125/0.001249, allocations: 97.03 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004091/0.0004091, allocations: 8 kB / 327 MB, free: 224 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3417, allocations: 47.57 MB / 374.5 MB, free: 45.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.005484/0.3473, allocations: 4.142 MB / 378.7 MB, free: 42.19 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01152/0.3589, allocations: 7.445 MB / 386.1 MB, free: 36.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008389/0.3598, allocations: 17.91 kB / 386.1 MB, free: 36.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001197/0.361, allocations: 305.8 kB / 386.4 MB, free: 36.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003303/0.3643, allocations: 0.7401 MB / 387.2 MB, free: 35.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0022/0.3665, allocations: 456.3 kB / 387.6 MB, free: 35.08 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00431/0.3709, allocations: 1.606 MB / 389.2 MB, free: 34.15 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003607/0.3713, allocations: 143 kB / 389.4 MB, free: 34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004867/0.3718, allocations: 238.9 kB / 389.6 MB, free: 33.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003801/0.3722, allocations: 290.2 kB / 389.9 MB, free: 33.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.814e-05/0.3723, allocations: 20 kB / 389.9 MB, free: 33.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002127/0.3744, allocations: 0.5465 MB / 390.4 MB, free: 32.92 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.3746, allocations: 79.45 kB / 390.5 MB, free: 32.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002786/0.3749, allocations: 201.1 kB / 390.7 MB, free: 32.64 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001222/0.3761, allocations: 0.8413 MB / 391.6 MB, free: 31.79 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.3761, allocations: 0 / 391.6 MB, free: 31.79 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3762, allocations: 0 / 391.6 MB, free: 31.79 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.3762, allocations: 0 / 391.6 MB, free: 31.79 MB / 298.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.002086/0.3783, allocations: 1.155 MB / 392.7 MB, free: 30.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.3783, allocations: 8.031 kB / 392.7 MB, free: 30.58 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001844/0.3785, allocations: 114.7 kB / 392.8 MB, free: 30.46 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00166/0.3802, allocations: 0.8051 MB / 393.6 MB, free: 29.61 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.3802, allocations: 20.55 kB / 393.7 MB, free: 29.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.261e-05/0.3803, allocations: 20 kB / 393.7 MB, free: 29.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006823/0.381, allocations: 307.7 kB / 394 MB, free: 29.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.381, allocations: 0 / 394 MB, free: 29.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.718e-05/0.3811, allocations: 15.98 kB / 394 MB, free: 29.24 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.3811, allocations: 11.94 kB / 394 MB, free: 29.23 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005953/0.3817, allocations: 242 kB / 394.2 MB, free: 28.99 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002249/0.384, allocations: 1.198 MB / 395.4 MB, free: 27.72 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004824/0.3845, allocations: 209 kB / 395.6 MB, free: 27.51 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01021/0.3947, allocations: 8.613 MB / 404.3 MB, free: 17.5 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.3948, allocations: 38.52 kB / 404.3 MB, free: 17.45 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 2.925e-06/0.3948, allocations: 0 / 404.3 MB, free: 17.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=23): time 0.002314/0.3971, allocations: 0.6504 MB / 404.9 MB, free: 16.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.3972, allocations: 77.11 kB / 405 MB, free: 16.68 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/0.3983, allocations: 0.7948 MB / 405.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.3984, allocations: 25.7 kB / 405.8 MB, free: 15.83 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003257/0.3987, allocations: 418.7 kB / 406.2 MB, free: 15.42 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.893e-05/0.3988, allocations: 86.73 kB / 406.3 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.093e-05/0.3988, allocations: 4 kB / 406.3 MB, free: 15.33 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.791e-05/0.3989, allocations: 334.7 kB / 406.7 MB, free: 15 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.3991, allocations: 68.2 kB / 406.7 MB, free: 14.93 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002466/0.3994, allocations: 141.8 kB / 406.9 MB, free: 14.76 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002535/0.3996, allocations: 92.48 kB / 407 MB, free: 14.67 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.3997, allocations: 0 / 407 MB, free: 14.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007529/0.4004, allocations: 314 kB / 407.3 MB, free: 14.35 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.4005, allocations: 8 kB / 407.3 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-05/0.4005, allocations: 15.98 kB / 407.3 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004968/0.401, allocations: 145 kB / 407.4 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002771/0.4013, allocations: 31.98 kB / 407.5 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007363/0.4021, allocations: 0.7088 MB / 408.2 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004733/0.4026, allocations: 31.81 kB / 408.2 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.423e-05/0.4026, allocations: 16 kB / 408.2 MB, free: 13.37 MB / 298.7 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 (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.0003252/0.4029, allocations: 202 kB / 408.4 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/0.4031, allocations: 106.7 kB / 408.5 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001227/0.4043, allocations: 407.6 kB / 408.9 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.4044, allocations: 3.984 kB / 408.9 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.4044, allocations: 0 / 408.9 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.4044, allocations: 4 kB / 408.9 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007335/0.4051, allocations: 0.5111 MB / 409.4 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-05/0.4052, allocations: 15.98 kB / 409.5 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/0.4054, allocations: 19.98 kB / 409.5 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004159/0.4058, allocations: 135 kB / 409.6 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.671e-05/0.4059, allocations: 8 kB / 409.6 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007065/0.4066, allocations: 0.7042 MB / 410.3 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4066, allocations: 0 / 410.3 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000779/0.4074, allocations: 460.2 kB / 410.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002303/0.4076, allocations: 171.9 kB / 410.9 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/0.4078, allocations: 7.953 kB / 410.9 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00039/0.4082, allocations: 7.938 kB / 410.9 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.415e-05/0.4083, allocations: 19.98 kB / 411 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/0.4083, allocations: 8 kB / 411 MB, free: 10.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008244/0.4092, allocations: 0.5383 MB / 411.5 MB, free: 9.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.4092, allocations: 4 kB / 411.5 MB, free: 9.926 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007518/0.4099, allocations: 187.8 kB / 411.7 MB, free: 9.742 MB / 298.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 () * 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 (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.000552/0.4105, allocations: 275.4 kB / 412 MB, free: 9.465 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008211/0.4113, allocations: 283.6 kB / 412.2 MB, free: 9.176 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4114, allocations: 4 kB / 412.3 MB, free: 9.172 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004033/0.4118, allocations: 183.8 kB / 412.4 MB, free: 8.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007314/0.4125, allocations: 134.1 kB / 412.6 MB, free: 8.852 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002441/0.415, allocations: 1.424 MB / 414 MB, free: 7.395 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/0.4154, allocations: 0.9568 MB / 414.9 MB, free: 6.41 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.4155, allocations: 51.44 kB / 415 MB, free: 6.359 MB / 298.7 MB Notification: Performance of SimCode: time 2.054e-06/0.4155, allocations: 4 kB / 415 MB, free: 6.355 MB / 298.7 MB Notification: Performance of Templates: time 0.02693/0.4425, allocations: 13.71 MB / 428.7 MB, free: 8.641 MB / 314.7 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