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.001856/0.001856, allocations: 114.6 kB / 17.73 MB, free: 5.203 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.001991/0.001992, allocations: 188.2 kB / 18.67 MB, free: 4.273 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.38/1.38, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001725/0.001725, allocations: 51.92 kB / 328 MB, free: 3.82 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09214/0.09388, allocations: 46.62 MB / 374.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.1892/0.2831, allocations: 5.14 MB / 379.8 MB, free: 9.121 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008878/0.292, allocations: 8.669 MB / 388.4 MB, free: 5.48 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008146/0.2929, allocations: 41.56 kB / 388.5 MB, free: 5.457 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001178/0.2942, allocations: 384.9 kB / 388.9 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003175/0.2974, allocations: 0.8073 MB / 389.7 MB, free: 4.809 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002423/0.2998, allocations: 0.58 MB / 390.2 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002725/0.3025, allocations: 1.651 MB / 391.9 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002795/0.3028, allocations: 165.2 kB / 392.1 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004053/0.3032, allocations: 276.5 kB / 392.3 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003757/0.3036, allocations: 322.2 kB / 392.6 MB, free: 3.535 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.598e-05/0.3037, allocations: 29.84 kB / 392.7 MB, free: 3.535 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001588/0.3053, allocations: 0.5612 MB / 393.2 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.598e-05/0.3054, allocations: 104.2 kB / 393.3 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003467/0.3058, allocations: 405 kB / 393.7 MB, free: 3.078 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001865/0.3076, allocations: 1.203 MB / 394.9 MB, free: 2.574 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.3077, allocations: 0.5156 kB / 394.9 MB, free: 2.574 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3077, allocations: 1.156 kB / 394.9 MB, free: 2.574 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.624e-05/0.3077, allocations: 7.938 kB / 394.9 MB, free: 2.566 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.001949/0.3096, allocations: 1.309 MB / 396.3 MB, free: 1.613 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.3097, allocations: 9.156 kB / 396.3 MB, free: 1.613 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.676e-05/0.3098, allocations: 62.16 kB / 396.3 MB, free: 1.559 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/0.3099, allocations: 120.8 kB / 396.4 MB, free: 1.496 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/0.3112, allocations: 0.8604 MB / 397.3 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/0.3112, allocations: 18.25 kB / 397.3 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.852e-05/0.3113, allocations: 28.16 kB / 397.3 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005841/0.3119, allocations: 305.6 kB / 397.6 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.3119, allocations: 3.938 kB / 397.7 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/0.312, allocations: 12.11 kB / 397.7 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/0.312, allocations: 7.5 kB / 397.7 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004446/0.3124, allocations: 238 kB / 397.9 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001746/0.3142, allocations: 1.187 MB / 399.1 MB, free: 15.97 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003919/0.3146, allocations: 206.8 kB / 399.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000342/0.315, allocations: 232.1 kB / 399.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009538/0.3245, allocations: 8.56 MB / 408.1 MB, free: 7.949 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.3246, allocations: 37.17 kB / 408.1 MB, free: 7.906 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 2.134e-06/0.3246, allocations: 0 / 408.1 MB, free: 7.906 MB / 334.1 MB Notification: Performance of matching and sorting (n=23): time 0.001707/0.3263, allocations: 0.6668 MB / 408.8 MB, free: 7.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/0.3264, allocations: 79.3 kB / 408.9 MB, free: 7.426 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.3274, allocations: 0.7946 MB / 409.7 MB, free: 6.973 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.283e-05/0.3274, allocations: 30.8 kB / 409.7 MB, free: 6.938 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003942/0.3279, allocations: 450.5 kB / 410.1 MB, free: 6.543 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.603e-05/0.3279, allocations: 84.95 kB / 410.2 MB, free: 6.469 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.328, allocations: 55.38 kB / 410.3 MB, free: 6.434 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.3282, allocations: 324.6 kB / 410.6 MB, free: 6.113 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.3283, allocations: 68.36 kB / 410.6 MB, free: 6.082 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/0.3286, allocations: 147.7 kB / 410.8 MB, free: 5.949 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003697/0.3289, allocations: 225.3 kB / 411 MB, free: 5.785 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.329, allocations: 0 / 411 MB, free: 5.785 MB / 334.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006863/0.3297, allocations: 417.5 kB / 411.4 MB, free: 5.562 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.3297, allocations: 7.125 kB / 411.4 MB, free: 5.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.127e-05/0.3297, allocations: 16.97 kB / 411.4 MB, free: 5.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003846/0.3301, allocations: 137.9 kB / 411.6 MB, free: 5.508 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.3303, allocations: 37.47 kB / 411.6 MB, free: 5.496 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006951/0.331, allocations: 0.7098 MB / 412.3 MB, free: 4.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000337/0.3313, allocations: 27.34 kB / 412.3 MB, free: 4.859 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-05/0.3314, allocations: 13.41 kB / 412.4 MB, free: 4.859 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.0002711/0.3317, allocations: 201.3 kB / 412.6 MB, free: 4.688 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.3318, allocations: 112.8 kB / 412.7 MB, free: 4.629 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007906/0.3326, allocations: 407.8 kB / 413.1 MB, free: 4.398 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.3326, allocations: 6.156 kB / 413.1 MB, free: 4.395 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3327, allocations: 4.906 kB / 413.1 MB, free: 4.391 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.3327, allocations: 3.984 kB / 413.1 MB, free: 4.387 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000727/0.3334, allocations: 0.5079 MB / 413.6 MB, free: 3.977 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.326e-05/0.3334, allocations: 15.56 kB / 413.6 MB, free: 3.973 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.3336, allocations: 19.83 kB / 413.6 MB, free: 3.965 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002961/0.3339, allocations: 148 kB / 413.8 MB, free: 3.906 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.3339, allocations: 8.375 kB / 413.8 MB, free: 3.902 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006432/0.3345, allocations: 0.695 MB / 414.5 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3346, allocations: 0 / 414.5 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006232/0.3352, allocations: 469.7 kB / 414.9 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002244/0.3354, allocations: 181 kB / 415.1 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.006e-05/0.3355, allocations: 1.594 kB / 415.1 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002078/0.3357, allocations: 6.594 kB / 415.1 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.623e-05/0.3358, allocations: 16.3 kB / 415.1 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-05/0.3358, allocations: 11.69 kB / 415.1 MB, free: 2.805 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006966/0.3365, allocations: 0.5421 MB / 415.7 MB, free: 2.484 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3365, allocations: 0 / 415.7 MB, free: 2.484 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006322/0.3372, allocations: 193.6 kB / 415.9 MB, free: 2.453 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.001597/0.3388, allocations: 1.191 MB / 417.1 MB, free: 1.531 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006798/0.3395, allocations: 287.2 kB / 417.3 MB, free: 1.371 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.3395, allocations: 0 / 417.3 MB, free: 1.371 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003105/0.3398, allocations: 177.7 kB / 417.5 MB, free: 1.258 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007033/0.3405, allocations: 138.6 kB / 417.7 MB, free: 1.18 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00742/0.3479, allocations: 5.334 MB / 423 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005903/0.3486, allocations: 0.9413 MB / 423.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003424/0.3489, allocations: 114.7 kB / 424 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003688/0.3493, allocations: 311.3 kB / 424.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3493, allocations: 0 / 424.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05047/0.3998, allocations: 18.31 MB / 442.7 MB, free: 9.602 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.02/14.42, allocations: 4.062 kB / 442.7 MB, free: 9.598 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