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.001703/0.001703, allocations: 112.8 kB / 17.06 MB, free: 5.996 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.00192/0.001919, allocations: 198.9 kB / 18 MB, free: 5.078 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.378/1.378, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 39.94 kB / 350.8 MB, free: 3.766 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2777, allocations: 49.43 MB / 400.2 MB, free: 8.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.005837/0.2836, allocations: 5.284 MB / 405.5 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01045/0.2941, allocations: 9.066 MB / 414.6 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007883/0.2949, allocations: 39.69 kB / 414.6 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.2959, allocations: 401.4 kB / 415 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002482/0.2985, allocations: 0.8224 MB / 415.8 MB, free: 9.305 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00173/0.3003, allocations: 0.587 MB / 416.4 MB, free: 8.715 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002573/0.3029, allocations: 1.701 MB / 418.1 MB, free: 7.008 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002918/0.3032, allocations: 155.1 kB / 418.3 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004291/0.3036, allocations: 306.5 kB / 418.6 MB, free: 6.543 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003589/0.304, allocations: 326 kB / 418.9 MB, free: 6.223 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.49e-05/0.304, allocations: 36 kB / 418.9 MB, free: 6.188 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/0.3054, allocations: 0.6516 MB / 419.6 MB, free: 5.535 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.544e-05/0.3055, allocations: 91.39 kB / 419.7 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003363/0.3059, allocations: 409.5 kB / 420.1 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001416/0.3073, allocations: 1.203 MB / 421.3 MB, free: 3.836 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3073, allocations: 0 / 421.3 MB, free: 3.836 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3073, allocations: 0 / 421.3 MB, free: 3.836 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.3073, allocations: 4 kB / 421.3 MB, free: 3.832 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.001783/0.3091, allocations: 1.271 MB / 422.5 MB, free: 2.508 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.3092, allocations: 12.02 kB / 422.5 MB, free: 2.496 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.924e-05/0.3093, allocations: 62.73 kB / 422.6 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.3094, allocations: 111.6 kB / 422.7 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.3105, allocations: 0.848 MB / 423.6 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.3106, allocations: 24.56 kB / 423.6 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.298e-05/0.3106, allocations: 31.89 kB / 423.6 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004953/0.3111, allocations: 303.7 kB / 423.9 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.3112, allocations: 0 / 423.9 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.503e-05/0.3112, allocations: 12 kB / 423.9 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.3112, allocations: 7.938 kB / 423.9 MB, free: 1.031 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004017/0.3116, allocations: 230.1 kB / 424.2 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001666/0.3133, allocations: 1.183 MB / 425.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003587/0.3137, allocations: 202.5 kB / 425.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003021/0.314, allocations: 226 kB / 425.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008181/0.3222, allocations: 8.565 MB / 434.3 MB, free: 5.164 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.3222, allocations: 38.5 kB / 434.4 MB, free: 5.117 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.663e-06/0.3223, allocations: 0 / 434.4 MB, free: 5.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001529/0.3238, allocations: 0.6618 MB / 435 MB, free: 4.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.3239, allocations: 81.11 kB / 435.1 MB, free: 4.332 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008554/0.3247, allocations: 0.8025 MB / 435.9 MB, free: 3.512 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.3247, allocations: 29.7 kB / 435.9 MB, free: 3.477 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003287/0.3251, allocations: 440.7 kB / 436.4 MB, free: 3.039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.396e-05/0.3251, allocations: 74.86 kB / 436.4 MB, free: 2.965 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.515e-05/0.3252, allocations: 61.78 kB / 436.5 MB, free: 2.898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.3254, allocations: 321.9 kB / 436.8 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.3255, allocations: 72.14 kB / 436.9 MB, free: 2.508 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/0.3257, allocations: 150.4 kB / 437 MB, free: 2.328 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003248/0.326, allocations: 228.4 kB / 437.3 MB, free: 2.074 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.3261, allocations: 4 kB / 437.3 MB, free: 2.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005685/0.3266, allocations: 414.8 kB / 437.7 MB, free: 1.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.3267, allocations: 10.5 kB / 437.7 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.617e-05/0.3267, allocations: 15.94 kB / 437.7 MB, free: 1.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003322/0.327, allocations: 137.1 kB / 437.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.3272, allocations: 39.97 kB / 437.9 MB, free: 1.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006521/0.3279, allocations: 0.7083 MB / 438.6 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.3281, allocations: 19.84 kB / 438.6 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.297e-05/0.3281, allocations: 12 kB / 438.6 MB, free: 0.6953 MB / 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.0002991/0.3284, allocations: 203.5 kB / 438.8 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.3286, allocations: 102.8 kB / 438.9 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008276/0.3294, allocations: 415.4 kB / 439.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.3294, allocations: 4 kB / 439.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3294, allocations: 4 kB / 439.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.3294, allocations: 0 / 439.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005642/0.33, allocations: 0.5111 MB / 439.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-05/0.33, allocations: 12 kB / 439.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.3301, allocations: 19.92 kB / 439.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002728/0.3304, allocations: 147.2 kB / 440 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.3305, allocations: 4 kB / 440 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005897/0.3311, allocations: 0.6929 MB / 440.7 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3311, allocations: 0 / 440.7 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006391/0.3317, allocations: 458.3 kB / 441.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000247/0.332, allocations: 179.7 kB / 441.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.87e-05/0.3321, allocations: 0 / 441.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.3323, allocations: 8 kB / 441.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.255e-05/0.3323, allocations: 11.98 kB / 441.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.3323, allocations: 12 kB / 441.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006225/0.333, allocations: 0.5461 MB / 441.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.333, allocations: 0 / 441.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005681/0.3336, allocations: 187.8 kB / 442.1 MB, free: 13.08 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.001256/0.3348, allocations: 1.196 MB / 443.3 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005535/0.3354, allocations: 271.4 kB / 443.5 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3354, allocations: 3.938 kB / 443.5 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002934/0.3357, allocations: 179.3 kB / 443.7 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007115/0.3364, allocations: 164.5 kB / 443.9 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00637/0.3428, allocations: 5.325 MB / 449.2 MB, free: 5.711 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005623/0.3434, allocations: 0.9412 MB / 450.2 MB, free: 4.742 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003044/0.3437, allocations: 110.6 kB / 450.3 MB, free: 4.629 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003524/0.3441, allocations: 315.3 kB / 450.6 MB, free: 4.32 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3441, allocations: 4 kB / 450.6 MB, free: 4.316 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04269/0.3868, allocations: 18.63 MB / 469.2 MB, free: 1.895 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/13.26, allocations: 6.859 kB / 469.2 MB, free: 1.891 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