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.00118/0.00118, allocations: 114.5 kB / 17.73 MB, free: 5.34 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.001178/0.001178, allocations: 183 kB / 18.66 MB, free: 4.418 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.324/1.324, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.00136/0.00136, allocations: 56.25 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08633/0.08771, allocations: 46.62 MB / 374.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.2002/0.288, allocations: 5.137 MB / 379.8 MB, free: 9.117 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00963/0.2976, allocations: 8.67 MB / 388.4 MB, free: 5.48 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008786/0.2986, allocations: 37.25 kB / 388.5 MB, free: 5.461 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001184/0.2998, allocations: 383.3 kB / 388.9 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003182/0.303, allocations: 0.8141 MB / 389.7 MB, free: 4.797 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00225/0.3053, allocations: 0.575 MB / 390.2 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002718/0.308, allocations: 1.648 MB / 391.9 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003327/0.3084, allocations: 163.8 kB / 392.1 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006131/0.309, allocations: 284.1 kB / 392.3 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004407/0.3094, allocations: 318.3 kB / 392.6 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.055e-05/0.3095, allocations: 30.41 kB / 392.7 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001694/0.3112, allocations: 0.5602 MB / 393.2 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.62e-05/0.3113, allocations: 101.3 kB / 393.3 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003375/0.3117, allocations: 414.3 kB / 393.7 MB, free: 3.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001543/0.3132, allocations: 1.194 MB / 394.9 MB, free: 2.574 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3132, allocations: 0 / 394.9 MB, free: 2.574 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3132, allocations: 0 / 394.9 MB, free: 2.574 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.3132, allocations: 5.312 kB / 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.001885/0.3151, allocations: 1.274 MB / 396.2 MB, free: 1.652 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.3152, allocations: 9.531 kB / 396.2 MB, free: 1.652 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.091e-05/0.3153, allocations: 66.44 kB / 396.3 MB, free: 1.594 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001478/0.3154, allocations: 112.3 kB / 396.4 MB, free: 1.539 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.3168, allocations: 0.8581 MB / 397.2 MB, free: 1.016 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.3168, allocations: 22.91 kB / 397.3 MB, free: 1.004 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.493e-05/0.3169, allocations: 24.44 kB / 397.3 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000583/0.3175, allocations: 306.6 kB / 397.6 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.3175, allocations: 0 / 397.6 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.206e-05/0.3175, allocations: 10.64 kB / 397.6 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.3176, allocations: 11.61 kB / 397.6 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004477/0.318, allocations: 230.7 kB / 397.8 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001945/0.32, allocations: 1.186 MB / 399 MB, free: 24 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004367/0.3204, allocations: 209.3 kB / 399.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003513/0.3208, allocations: 223.8 kB / 399.4 MB, free: 15.81 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008941/0.3297, allocations: 8.553 MB / 408 MB, free: 8.016 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.3298, allocations: 37.94 kB / 408 MB, free: 7.973 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 2.275e-06/0.3298, allocations: 0 / 408 MB, free: 7.973 MB / 334.1 MB Notification: Performance of matching and sorting (n=23): time 0.00165/0.3315, allocations: 0.6766 MB / 408.7 MB, free: 7.582 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.3315, allocations: 80.33 kB / 408.8 MB, free: 7.488 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.3326, allocations: 0.7979 MB / 409.6 MB, free: 7.031 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/0.3326, allocations: 30.77 kB / 409.6 MB, free: 6.996 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003308/0.333, allocations: 446.1 kB / 410.1 MB, free: 6.605 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.665e-05/0.333, allocations: 73.05 kB / 410.1 MB, free: 6.543 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.804e-05/0.3332, allocations: 61.8 kB / 410.2 MB, free: 6.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.3333, allocations: 316.5 kB / 410.5 MB, free: 6.188 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.3334, allocations: 69.55 kB / 410.6 MB, free: 6.156 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001915/0.3336, allocations: 148 kB / 410.7 MB, free: 6.023 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003378/0.334, allocations: 228.4 kB / 410.9 MB, free: 5.855 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.334, allocations: 1.25 kB / 410.9 MB, free: 5.855 MB / 334.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006184/0.3346, allocations: 409 kB / 411.3 MB, free: 5.641 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.3346, allocations: 5.781 kB / 411.3 MB, free: 5.641 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.843e-05/0.3347, allocations: 17.53 kB / 411.4 MB, free: 5.637 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003709/0.335, allocations: 134.9 kB / 411.5 MB, free: 5.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.3352, allocations: 39.8 kB / 411.5 MB, free: 5.574 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006425/0.3359, allocations: 0.7083 MB / 412.2 MB, free: 4.961 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003285/0.3362, allocations: 32.38 kB / 412.3 MB, free: 4.938 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.692e-05/0.3363, allocations: 13.31 kB / 412.3 MB, free: 4.938 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.0002376/0.3365, allocations: 198.7 kB / 412.5 MB, free: 4.77 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.3366, allocations: 105.7 kB / 412.6 MB, free: 4.715 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007709/0.3374, allocations: 407.9 kB / 413 MB, free: 4.484 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.3374, allocations: 5.344 kB / 413 MB, free: 4.484 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.3375, allocations: 4 kB / 413 MB, free: 4.48 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.3375, allocations: 1.25 kB / 413 MB, free: 4.48 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00073/0.3382, allocations: 0.5109 MB / 413.5 MB, free: 4.066 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-05/0.3382, allocations: 15.5 kB / 413.5 MB, free: 4.062 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.3384, allocations: 20.27 kB / 413.5 MB, free: 4.055 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002915/0.3387, allocations: 145.7 kB / 413.7 MB, free: 3.992 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.371e-05/0.3387, allocations: 8.188 kB / 413.7 MB, free: 3.988 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006243/0.3393, allocations: 0.6944 MB / 414.4 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.3393, allocations: 1.125 kB / 414.4 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006723/0.34, allocations: 456.9 kB / 414.8 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003304/0.3404, allocations: 176.7 kB / 415 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/0.3405, allocations: 2.344 kB / 415 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/0.3408, allocations: 6.375 kB / 415 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.574e-05/0.3408, allocations: 15.83 kB / 415 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.3409, allocations: 16.02 kB / 415 MB, free: 2.902 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000753/0.3416, allocations: 0.5416 MB / 415.6 MB, free: 2.582 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3416, allocations: 0 / 415.6 MB, free: 2.582 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009522/0.3426, allocations: 190.2 kB / 415.8 MB, free: 2.555 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.001865/0.3445, allocations: 1.183 MB / 416.9 MB, free: 1.641 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007455/0.3452, allocations: 285.9 kB / 417.2 MB, free: 1.48 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.3452, allocations: 0 / 417.2 MB, free: 1.48 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003788/0.3456, allocations: 182.6 kB / 417.4 MB, free: 1.363 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008697/0.3465, allocations: 138.8 kB / 417.5 MB, free: 1.285 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007793/0.3543, allocations: 5.306 MB / 422.8 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004789/0.3548, allocations: 0.9413 MB / 423.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003146/0.3552, allocations: 110.7 kB / 423.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003055/0.3555, allocations: 311.3 kB / 424.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3555, allocations: 0 / 424.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04119/0.3967, allocations: 18.64 MB / 442.8 MB, free: 9.414 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.63/14.03, allocations: 4.062 kB / 442.8 MB, free: 9.41 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_CascodeCircuit_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-07 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.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","/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