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/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 3.2.3+maint.om/package.mo", uses=false) 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 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_3_2_3_Modelica_Electrical_Spice3_Examples_CascodeCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CascodeCircuit,fileNamePrefix="Modelica_3_2_3_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.001753/0.001753, allocations: 113.4 kB / 17.72 MB, free: 5.445 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.001911/0.001911, allocations: 184.1 kB / 18.65 MB, free: 4.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001672, allocations: 59.92 kB / 328 MB, free: 3.824 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09027/0.09195, allocations: 46.62 MB / 374.6 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.1708/0.2628, allocations: 5.131 MB / 379.8 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008186/0.271, allocations: 8.675 MB / 388.4 MB, free: 5.508 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005836/0.2716, allocations: 37.78 kB / 388.5 MB, free: 5.488 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.2727, allocations: 385.7 kB / 388.9 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002619/0.2753, allocations: 0.8134 MB / 389.7 MB, free: 4.805 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00185/0.2772, allocations: 0.5742 MB / 390.2 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002444/0.2797, allocations: 1.647 MB / 391.9 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002623/0.2799, allocations: 171.9 kB / 392.1 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004174/0.2804, allocations: 276.4 kB / 392.3 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003918/0.2808, allocations: 322.2 kB / 392.6 MB, free: 3.535 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.366e-05/0.2808, allocations: 30.41 kB / 392.7 MB, free: 3.535 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001568/0.2824, allocations: 0.5564 MB / 393.2 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.647e-05/0.2825, allocations: 105 kB / 393.3 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003145/0.2828, allocations: 412.3 kB / 393.7 MB, free: 3.074 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001516/0.2844, allocations: 1.203 MB / 394.9 MB, free: 2.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2844, allocations: 0.7031 kB / 394.9 MB, free: 2.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2844, allocations: 0 / 394.9 MB, free: 2.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.2844, allocations: 0 / 394.9 MB, free: 2.57 MB / 318.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.001754/0.2862, allocations: 1.316 MB / 396.3 MB, free: 1.609 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.738e-05/0.2862, allocations: 9.453 kB / 396.3 MB, free: 1.609 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.343e-05/0.2863, allocations: 62.92 kB / 396.3 MB, free: 1.555 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.2865, allocations: 120.2 kB / 396.4 MB, free: 1.492 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.2878, allocations: 0.8568 MB / 397.3 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.2878, allocations: 17.97 kB / 397.3 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.057e-05/0.2879, allocations: 27.81 kB / 397.3 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000534/0.2884, allocations: 306.8 kB / 397.6 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.2885, allocations: 0 / 397.6 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.986e-05/0.2885, allocations: 10.53 kB / 397.7 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/0.2885, allocations: 7.328 kB / 397.7 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004309/0.289, allocations: 234.5 kB / 397.9 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00176/0.2907, allocations: 1.195 MB / 399.1 MB, free: 15.97 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003957/0.2911, allocations: 210.8 kB / 399.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003532/0.2915, allocations: 227.2 kB / 399.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01063/0.3022, allocations: 8.564 MB / 408.1 MB, free: 7.945 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.793e-05/0.3022, allocations: 32.69 kB / 408.1 MB, free: 7.906 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 2.154e-06/0.3023, allocations: 0 / 408.1 MB, free: 7.906 MB / 334.1 MB Notification: Performance of matching and sorting (n=23): time 0.001829/0.3041, allocations: 0.6674 MB / 408.8 MB, free: 7.512 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.327e-05/0.3042, allocations: 79.58 kB / 408.8 MB, free: 7.418 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.3052, allocations: 0.8024 MB / 409.7 MB, free: 6.957 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.3052, allocations: 26.73 kB / 409.7 MB, free: 6.926 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003876/0.3056, allocations: 443.1 kB / 410.1 MB, free: 6.539 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.398e-05/0.3057, allocations: 92.38 kB / 410.2 MB, free: 6.457 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.3058, allocations: 59.03 kB / 410.3 MB, free: 6.418 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.306, allocations: 320.2 kB / 410.6 MB, free: 6.102 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.3061, allocations: 64.77 kB / 410.6 MB, free: 6.074 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002229/0.3064, allocations: 151.7 kB / 410.8 MB, free: 5.938 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003813/0.3068, allocations: 225.2 kB / 411 MB, free: 5.773 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3068, allocations: 1 kB / 411 MB, free: 5.773 MB / 334.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007024/0.3075, allocations: 413.4 kB / 411.4 MB, free: 5.555 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.3075, allocations: 5.844 kB / 411.4 MB, free: 5.555 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.253e-05/0.3075, allocations: 18.33 kB / 411.4 MB, free: 5.551 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003768/0.3079, allocations: 137.7 kB / 411.6 MB, free: 5.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.3081, allocations: 41.03 kB / 411.6 MB, free: 5.484 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007049/0.3088, allocations: 0.7125 MB / 412.3 MB, free: 4.867 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003561/0.3092, allocations: 28.62 kB / 412.3 MB, free: 4.848 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.095e-05/0.3092, allocations: 19.66 kB / 412.4 MB, free: 4.84 MB / 334.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.0002533/0.3095, allocations: 200.3 kB / 412.6 MB, free: 4.672 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.3096, allocations: 111.8 kB / 412.7 MB, free: 4.613 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007846/0.3104, allocations: 406.6 kB / 413.1 MB, free: 4.383 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.3105, allocations: 2.781 kB / 413.1 MB, free: 4.383 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.3105, allocations: 0 / 413.1 MB, free: 4.383 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3105, allocations: 5.625 kB / 413.1 MB, free: 4.379 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007067/0.3112, allocations: 0.5023 MB / 413.6 MB, free: 3.973 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.43e-05/0.3112, allocations: 20.17 kB / 413.6 MB, free: 3.965 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001329/0.3114, allocations: 23.17 kB / 413.6 MB, free: 3.957 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002881/0.3117, allocations: 126.3 kB / 413.7 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.3117, allocations: 20.27 kB / 413.8 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006883/0.3124, allocations: 0.6994 MB / 414.5 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3124, allocations: 0 / 414.5 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006575/0.3131, allocations: 465.7 kB / 414.9 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002331/0.3133, allocations: 179.4 kB / 415.1 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.489e-05/0.3134, allocations: 5.031 kB / 415.1 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.3136, allocations: 3.344 kB / 415.1 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.845e-05/0.3137, allocations: 24.39 kB / 415.1 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/0.3137, allocations: 8.25 kB / 415.1 MB, free: 2.793 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007468/0.3145, allocations: 0.5413 MB / 415.7 MB, free: 2.473 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3145, allocations: 0 / 415.7 MB, free: 2.473 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007603/0.3152, allocations: 193.4 kB / 415.9 MB, free: 2.441 MB / 334.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.001548/0.3168, allocations: 1.188 MB / 417.1 MB, free: 1.523 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006287/0.3174, allocations: 292 kB / 417.3 MB, free: 1.359 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3175, allocations: 0 / 417.3 MB, free: 1.359 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002896/0.3178, allocations: 181.2 kB / 417.5 MB, free: 1.242 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006383/0.3184, allocations: 137.4 kB / 417.6 MB, free: 1.164 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006969/0.3254, allocations: 5.34 MB / 423 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005722/0.326, allocations: 0.9374 MB / 423.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003214/0.3263, allocations: 110.7 kB / 424 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003494/0.3267, allocations: 315.3 kB / 424.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of SimCode: time 1.172e-06/0.3267, allocations: 0 / 424.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04902/0.3757, allocations: 18.31 MB / 442.6 MB, free: 9.613 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/13.78, allocations: 4 kB / 442.7 MB, free: 9.609 MB / 366.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.0002 Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_CascodeCircuit.fmu > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches