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.0009556/0.0009557, allocations: 91.88 kB / 16.65 MB, free: 6.586 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.001043/0.001043, allocations: 182 kB / 17.56 MB, free: 6.203 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.334/1.334, allocations: 223.3 MB / 241.6 MB, free: 200 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002576/0.0002577, allocations: 12.78 kB / 301.5 MB, free: 6.031 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09622/0.0965, allocations: 50.4 MB / 351.9 MB, free: 3.617 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.005051/0.1016, allocations: 4.891 MB / 356.8 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01176/0.1134, allocations: 9.083 MB / 365.9 MB, free: 5.582 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/0.1145, allocations: 19.88 kB / 365.9 MB, free: 5.562 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001278/0.1158, allocations: 346.2 kB / 366.3 MB, free: 5.223 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003329/0.1191, allocations: 0.6949 MB / 367 MB, free: 4.523 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0021/0.1213, allocations: 470.1 kB / 367.4 MB, free: 4.062 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002924/0.1242, allocations: 1.646 MB / 369.1 MB, free: 2.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003093/0.1245, allocations: 147.6 kB / 369.2 MB, free: 2.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004284/0.125, allocations: 286.4 kB / 369.5 MB, free: 1.969 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003476/0.1253, allocations: 313.9 kB / 369.8 MB, free: 1.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.388e-05/0.1254, allocations: 20 kB / 369.8 MB, free: 1.641 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001727/0.1271, allocations: 0.632 MB / 370.5 MB, free: 1.008 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.031e-05/0.1272, allocations: 91.31 kB / 370.5 MB, free: 0.918 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003972/0.1276, allocations: 415.2 kB / 370.9 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1859/0.3135, allocations: 1.149 MB / 372.1 MB, free: 13.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3136, allocations: 1.25 kB / 372.1 MB, free: 13.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3136, allocations: 0 / 372.1 MB, free: 13.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.3136, allocations: 4.359 kB / 372.1 MB, free: 13.77 MB / 302.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.001605/0.3152, allocations: 1.141 MB / 373.2 MB, free: 13 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.3153, allocations: 9 kB / 373.3 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.53e-05/0.3153, allocations: 61.91 kB / 373.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.3155, allocations: 112.7 kB / 373.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/0.3167, allocations: 0.8556 MB / 374.3 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.3167, allocations: 21.31 kB / 374.3 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.31e-05/0.3168, allocations: 29.95 kB / 374.3 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005147/0.3173, allocations: 308.3 kB / 374.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.3173, allocations: 0 / 374.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/0.3174, allocations: 13.33 kB / 374.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.3174, allocations: 8.297 kB / 374.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004088/0.3178, allocations: 243.5 kB / 374.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001676/0.3195, allocations: 1.182 MB / 376.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003463/0.3198, allocations: 202.9 kB / 376.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002802/0.3201, allocations: 232.3 kB / 376.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006864/0.327, allocations: 8.582 MB / 385.1 MB, free: 4.734 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.327, allocations: 37.05 kB / 385.1 MB, free: 4.695 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.753e-06/0.327, allocations: 0 / 385.1 MB, free: 4.695 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.001644/0.3287, allocations: 0.6674 MB / 385.8 MB, free: 4.488 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.3287, allocations: 80.48 kB / 385.9 MB, free: 4.395 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009866/0.3297, allocations: 0.7995 MB / 386.7 MB, free: 4.246 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.3298, allocations: 31.11 kB / 386.7 MB, free: 4.211 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002713/0.33, allocations: 445.8 kB / 387.1 MB, free: 4.086 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.137e-05/0.3301, allocations: 79.75 kB / 387.2 MB, free: 4.035 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.85e-05/0.3302, allocations: 25.41 kB / 387.2 MB, free: 4.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.561e-05/0.3302, allocations: 320 kB / 387.5 MB, free: 3.715 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.3304, allocations: 69.36 kB / 387.6 MB, free: 3.715 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.3305, allocations: 152.3 kB / 387.8 MB, free: 3.621 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003354/0.3309, allocations: 234.6 kB / 388 MB, free: 3.535 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3309, allocations: 0 / 388 MB, free: 3.535 MB / 302.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005927/0.3315, allocations: 413 kB / 388.4 MB, free: 3.438 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.3315, allocations: 7.406 kB / 388.4 MB, free: 3.438 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.107e-05/0.3316, allocations: 17.53 kB / 388.4 MB, free: 3.438 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003851/0.332, allocations: 142.7 kB / 388.6 MB, free: 3.422 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.3321, allocations: 37.69 kB / 388.6 MB, free: 3.422 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005805/0.3327, allocations: 0.7137 MB / 389.3 MB, free: 2.895 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000323/0.3331, allocations: 29.3 kB / 389.3 MB, free: 2.879 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.119e-05/0.3331, allocations: 14.11 kB / 389.3 MB, free: 2.879 MB / 302.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.0002356/0.3334, allocations: 195.2 kB / 389.5 MB, free: 2.766 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.3335, allocations: 103.4 kB / 389.6 MB, free: 2.715 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000838/0.3343, allocations: 418.9 kB / 390 MB, free: 2.617 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.3343, allocations: 8.281 kB / 390.1 MB, free: 2.613 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3344, allocations: 0 / 390.1 MB, free: 2.613 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.3344, allocations: 3.312 kB / 390.1 MB, free: 2.613 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006204/0.335, allocations: 0.4996 MB / 390.6 MB, free: 2.301 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.071e-05/0.335, allocations: 20.72 kB / 390.6 MB, free: 2.293 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.3352, allocations: 18.14 kB / 390.6 MB, free: 2.293 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002718/0.3354, allocations: 144.5 kB / 390.7 MB, free: 2.258 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.3355, allocations: 9.031 kB / 390.7 MB, free: 2.254 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004571/0.3359, allocations: 0.7044 MB / 391.4 MB, free: 1.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3359, allocations: 2 kB / 391.5 MB, free: 1.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005321/0.3365, allocations: 461 kB / 391.9 MB, free: 1.383 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/0.3366, allocations: 173 kB / 392.1 MB, free: 1.227 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.88e-05/0.3367, allocations: 6.188 kB / 392.1 MB, free: 1.223 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.3369, allocations: 8.062 kB / 392.1 MB, free: 1.219 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/0.337, allocations: 16.36 kB / 392.1 MB, free: 1.215 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/0.337, allocations: 16.03 kB / 392.1 MB, free: 1.215 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006621/0.3377, allocations: 0.5395 MB / 392.7 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3377, allocations: 0 / 392.7 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006473/0.3383, allocations: 192.8 kB / 392.8 MB, free: 0.9492 MB / 302.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.001063/0.3394, allocations: 1.181 MB / 394 MB, free: 128 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005258/0.34, allocations: 292.3 kB / 394.3 MB, free: 0 / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.34, allocations: 0 / 394.3 MB, free: 0 / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003947/0.3404, allocations: 183.7 kB / 394.5 MB, free: 15.93 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007919/0.3412, allocations: 161.2 kB / 394.6 MB, free: 15.86 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009061/0.3502, allocations: 5.882 MB / 400.5 MB, free: 12.42 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004729/0.3508, allocations: 0.9358 MB / 401.5 MB, free: 11.71 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003919/0.3512, allocations: 114 kB / 401.6 MB, free: 11.68 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003132/0.3515, allocations: 308.6 kB / 401.9 MB, free: 11.44 MB / 318.1 MB Notification: Performance of SimCode: time 6.02e-07/0.3515, allocations: 0.9062 kB / 401.9 MB, free: 11.44 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.774/3.126, allocations: 17.49 MB / 419.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002166/3.126, allocations: 233 kB / 419.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.957/6.083, allocations: 5.688 kB / 419.6 MB, free: 11.78 MB / 334.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