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.001752/0.001752, allocations: 113.4 kB / 17.73 MB, free: 5.32 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.002039/0.002039, allocations: 188.2 kB / 18.66 MB, free: 4.395 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.348/1.348, allocations: 205.1 MB / 224.5 MB, free: 12.21 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.001352/0.001352, allocations: 51.92 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09144/0.0928, 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.1895/0.2823, allocations: 5.134 MB / 379.8 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01105/0.2934, allocations: 8.677 MB / 388.4 MB, free: 5.508 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001069/0.2946, allocations: 38.19 kB / 388.5 MB, free: 5.488 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.2959, allocations: 381.7 kB / 388.9 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003563/0.2995, allocations: 0.8163 MB / 389.7 MB, free: 4.801 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002859/0.3024, allocations: 0.5699 MB / 390.2 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003021/0.3054, allocations: 1.647 MB / 391.9 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000349/0.3058, allocations: 169.9 kB / 392.1 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006258/0.3064, allocations: 284.1 kB / 392.3 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004873/0.3069, allocations: 314.8 kB / 392.6 MB, free: 3.539 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.056e-05/0.307, allocations: 29.09 kB / 392.7 MB, free: 3.539 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002268/0.3093, allocations: 0.5652 MB / 393.2 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.3094, allocations: 100.3 kB / 393.3 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005118/0.3099, allocations: 404.8 kB / 393.7 MB, free: 3.082 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002134/0.3121, allocations: 1.196 MB / 394.9 MB, free: 2.586 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.3121, allocations: 4.562 kB / 394.9 MB, free: 2.582 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3121, allocations: 1.188 kB / 394.9 MB, free: 2.582 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.347e-05/0.3121, allocations: 0 / 394.9 MB, free: 2.582 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.002148/0.3143, allocations: 1.281 MB / 396.2 MB, free: 1.656 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.921e-05/0.3144, allocations: 10.25 kB / 396.2 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.904e-05/0.3145, allocations: 62.41 kB / 396.3 MB, free: 1.602 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001848/0.3147, allocations: 113.5 kB / 396.4 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/0.316, allocations: 0.8473 MB / 397.2 MB, free: 1.031 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.3161, allocations: 18.83 kB / 397.3 MB, free: 1.023 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.39e-05/0.3161, allocations: 33.3 kB / 397.3 MB, free: 1.008 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005392/0.3167, allocations: 306.5 kB / 397.6 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.3167, allocations: 3.938 kB / 397.6 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/0.3167, allocations: 14.12 kB / 397.6 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.3168, allocations: 6.938 kB / 397.6 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004077/0.3172, allocations: 235 kB / 397.8 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001786/0.319, allocations: 1.183 MB / 399 MB, free: 32 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004131/0.3194, allocations: 205 kB / 399.2 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003565/0.3198, allocations: 224.6 kB / 399.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01009/0.3299, allocations: 8.562 MB / 408 MB, free: 8.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.33, allocations: 32.69 kB / 408 MB, free: 7.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 3.316e-06/0.33, allocations: 0 / 408 MB, free: 7.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=23): time 0.001735/0.3317, allocations: 0.6752 MB / 408.7 MB, free: 7.582 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.069e-05/0.3318, allocations: 79.42 kB / 408.8 MB, free: 7.488 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/0.3331, allocations: 0.8033 MB / 409.6 MB, free: 7.027 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.427e-05/0.3331, allocations: 29.64 kB / 409.6 MB, free: 6.992 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003708/0.3335, allocations: 442.9 kB / 410.1 MB, free: 6.605 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.64e-05/0.3336, allocations: 79.95 kB / 410.1 MB, free: 6.535 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.3337, allocations: 63.89 kB / 410.2 MB, free: 6.492 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.3338, allocations: 315.1 kB / 410.5 MB, free: 6.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.3339, allocations: 66.92 kB / 410.6 MB, free: 6.152 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.3342, allocations: 148.1 kB / 410.7 MB, free: 6.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003497/0.3345, allocations: 229 kB / 410.9 MB, free: 5.852 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.3345, allocations: 1.062 kB / 410.9 MB, free: 5.852 MB / 334.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007553/0.3353, allocations: 413.9 kB / 411.3 MB, free: 5.633 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.3353, allocations: 5.5 kB / 411.3 MB, free: 5.633 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-05/0.3354, allocations: 14.06 kB / 411.4 MB, free: 5.633 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003828/0.3357, allocations: 139.9 kB / 411.5 MB, free: 5.582 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.3359, allocations: 37.45 kB / 411.5 MB, free: 5.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000661/0.3366, allocations: 0.7053 MB / 412.2 MB, free: 4.957 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004207/0.337, allocations: 28.5 kB / 412.3 MB, free: 4.938 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.913e-05/0.3371, allocations: 16.38 kB / 412.3 MB, free: 4.934 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.0003095/0.3374, allocations: 201.2 kB / 412.5 MB, free: 4.762 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/0.3376, allocations: 111.1 kB / 412.6 MB, free: 4.703 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000844/0.3385, allocations: 401 kB / 413 MB, free: 4.477 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.3385, allocations: 4.875 kB / 413 MB, free: 4.477 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.3385, allocations: 4 kB / 413 MB, free: 4.473 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3385, allocations: 1.625 kB / 413 MB, free: 4.473 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009144/0.3394, allocations: 0.5063 MB / 413.5 MB, free: 4.062 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.832e-05/0.3395, allocations: 20.53 kB / 413.5 MB, free: 4.055 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.3396, allocations: 20.58 kB / 413.5 MB, free: 4.047 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002923/0.3399, allocations: 132.2 kB / 413.7 MB, free: 3.996 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.49e-05/0.3399, allocations: 13.62 kB / 413.7 MB, free: 3.988 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006021/0.3406, allocations: 0.694 MB / 414.4 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3406, allocations: 5.25 kB / 414.4 MB, free: 3.379 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006636/0.3412, allocations: 461 kB / 414.8 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003217/0.3416, allocations: 175.3 kB / 415 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/0.3417, allocations: 5.125 kB / 415 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002569/0.342, allocations: 2.25 kB / 415 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.331e-05/0.3421, allocations: 20.42 kB / 415 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/0.3421, allocations: 12.8 kB / 415 MB, free: 2.895 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007906/0.3429, allocations: 0.5405 MB / 415.6 MB, free: 2.574 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3429, allocations: 0 / 415.6 MB, free: 2.574 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007583/0.3437, allocations: 186.1 kB / 415.8 MB, free: 2.551 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.001485/0.3452, allocations: 1.188 MB / 416.9 MB, free: 1.633 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006044/0.3458, allocations: 286.9 kB / 417.2 MB, free: 1.473 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3458, allocations: 0 / 417.2 MB, free: 1.473 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002857/0.3461, allocations: 177.5 kB / 417.4 MB, free: 1.359 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007786/0.3469, allocations: 141.2 kB / 417.5 MB, free: 1.277 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007459/0.3544, allocations: 5.309 MB / 422.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004671/0.3549, allocations: 0.9413 MB / 423.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003135/0.3552, allocations: 110.7 kB / 423.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003153/0.3555, allocations: 311.3 kB / 424.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3555, allocations: 4 kB / 424.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04467/0.4002, allocations: 18.64 MB / 442.8 MB, free: 9.398 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/13.43, allocations: 3.938 kB / 442.8 MB, free: 9.395 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