Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CascodeCircuit,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_CascodeCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CascodeCircuit,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_CascodeCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 112.8 kB / 17.06 MB, free: 5.973 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.00137/0.00137, allocations: 200 kB / 18.01 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 43.92 kB / 350.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.266, allocations: 49.44 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.006764/0.2728, allocations: 5.275 MB / 405.5 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01184/0.2847, allocations: 9.071 MB / 414.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009716/0.2857, allocations: 35.69 kB / 414.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001182/0.2869, allocations: 397.4 kB / 415 MB, free: 9.984 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003231/0.2903, allocations: 0.8263 MB / 415.8 MB, free: 9.152 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002474/0.2928, allocations: 0.587 MB / 416.4 MB, free: 8.562 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003352/0.2962, allocations: 1.701 MB / 418.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000341/0.2965, allocations: 163.1 kB / 418.3 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005057/0.297, allocations: 302.5 kB / 418.6 MB, free: 6.387 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004378/0.2975, allocations: 326 kB / 418.9 MB, free: 6.066 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.781e-05/0.2976, allocations: 28 kB / 418.9 MB, free: 6.039 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001761/0.2993, allocations: 0.6516 MB / 419.6 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.2995, allocations: 99.38 kB / 419.7 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004126/0.2999, allocations: 405.5 kB / 420.1 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001727/0.3016, allocations: 1.21 MB / 421.3 MB, free: 3.676 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3016, allocations: 0 / 421.3 MB, free: 3.676 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3016, allocations: 0 / 421.3 MB, free: 3.676 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.593e-05/0.3017, allocations: 0 / 421.3 MB, free: 3.676 MB / 334.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.002025/0.3037, allocations: 1.309 MB / 422.6 MB, free: 2.312 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.3037, allocations: 12.03 kB / 422.6 MB, free: 2.301 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.512e-05/0.3038, allocations: 66.66 kB / 422.7 MB, free: 2.227 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001542/0.304, allocations: 120.2 kB / 422.8 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/0.3053, allocations: 0.8568 MB / 423.6 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.3053, allocations: 16.56 kB / 423.6 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.581e-05/0.3054, allocations: 24 kB / 423.7 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005576/0.3059, allocations: 315.6 kB / 424 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.306, allocations: 0 / 424 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.021e-05/0.306, allocations: 12 kB / 424 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.306, allocations: 4 kB / 424 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004319/0.3064, allocations: 234.1 kB / 424.2 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001829/0.3083, allocations: 1.191 MB / 425.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003943/0.3087, allocations: 202.7 kB / 425.6 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003482/0.3091, allocations: 222 kB / 425.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009542/0.3186, allocations: 8.577 MB / 434.4 MB, free: 4.938 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.223e-05/0.3187, allocations: 38.5 kB / 434.4 MB, free: 4.891 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 2.304e-06/0.3187, allocations: 0 / 434.4 MB, free: 4.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001708/0.3204, allocations: 0.6623 MB / 435.1 MB, free: 4.203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.013e-05/0.3205, allocations: 81.11 kB / 435.2 MB, free: 4.105 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009755/0.3215, allocations: 0.8026 MB / 436 MB, free: 3.285 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.261e-05/0.3215, allocations: 29.7 kB / 436 MB, free: 3.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004059/0.3219, allocations: 445 kB / 436.4 MB, free: 2.809 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.903e-05/0.322, allocations: 79.27 kB / 436.5 MB, free: 2.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.79e-05/0.3221, allocations: 61.89 kB / 436.6 MB, free: 2.664 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.3223, allocations: 321.9 kB / 436.9 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.3224, allocations: 68.2 kB / 437 MB, free: 2.277 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/0.3227, allocations: 150.4 kB / 437.1 MB, free: 2.098 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000365/0.323, allocations: 228.4 kB / 437.3 MB, free: 1.844 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.323, allocations: 0 / 437.3 MB, free: 1.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006643/0.3237, allocations: 419.6 kB / 437.7 MB, free: 1.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.3237, allocations: 8.062 kB / 437.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.445e-05/0.3238, allocations: 23.98 kB / 437.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000385/0.3242, allocations: 132.7 kB / 437.9 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.3244, allocations: 39.91 kB / 437.9 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000709/0.3251, allocations: 0.7007 MB / 438.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002404/0.3253, allocations: 31.8 kB / 438.7 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.3254, allocations: 12 kB / 438.7 MB, free: 468 kB / 350.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.0002431/0.3256, allocations: 193.8 kB / 438.9 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.3258, allocations: 107.3 kB / 439 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008023/0.3266, allocations: 419.4 kB / 439.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.3266, allocations: 4 kB / 439.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3266, allocations: 0 / 439.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3266, allocations: 0 / 439.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006301/0.3272, allocations: 0.5072 MB / 439.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.412e-05/0.3273, allocations: 19.98 kB / 439.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/0.3274, allocations: 15.98 kB / 439.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002883/0.3277, allocations: 139 kB / 440.1 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.472e-05/0.3277, allocations: 15.98 kB / 440.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006545/0.3284, allocations: 0.6929 MB / 440.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3284, allocations: 3.938 kB / 440.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006284/0.329, allocations: 458.9 kB / 441.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/0.3293, allocations: 192.4 kB / 441.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.809e-05/0.3293, allocations: 4 kB / 441.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.3295, allocations: 4 kB / 441.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.265e-05/0.3296, allocations: 11.98 kB / 441.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.3296, allocations: 12 kB / 441.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006671/0.3303, allocations: 0.5422 MB / 442 MB, free: 13.01 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3303, allocations: 3.938 kB / 442 MB, free: 13.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005853/0.3309, allocations: 203.6 kB / 442.2 MB, free: 12.81 MB / 366.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.001386/0.3323, allocations: 1.189 MB / 443.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006039/0.3329, allocations: 280.3 kB / 443.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3329, allocations: 4 kB / 443.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003093/0.3333, allocations: 175.3 kB / 443.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007406/0.334, allocations: 160.2 kB / 444 MB, free: 10.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007182/0.3412, allocations: 5.35 MB / 449.3 MB, free: 5.422 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005884/0.3418, allocations: 0.9374 MB / 450.3 MB, free: 4.457 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003224/0.3422, allocations: 110.7 kB / 450.4 MB, free: 4.344 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003508/0.3425, allocations: 315.3 kB / 450.7 MB, free: 4.035 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3425, allocations: 0 / 450.7 MB, free: 4.035 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05101/0.3935, allocations: 18.32 MB / 469 MB, free: 1.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.25/14.64, allocations: 2.922 kB / 469 MB, free: 1.93 MB / 382.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_CascodeCircuit_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-07 Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_CascodeCircuit.fmu > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches