Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001672/0.001672, allocations: 109.1 kB / 21.22 MB, free: 0.7539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002156/0.002156, allocations: 216.5 kB / 24.53 MB, free: 4.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 230.5 MB / 258.2 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CascodeCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_CascodeCircuit",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CascodeCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_CascodeCircuit",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 63.89 kB / 378.6 MB, free: 3.027 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2641, allocations: 53.41 MB / 432 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.006881/0.271, allocations: 5.316 MB / 437.3 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01213/0.2831, allocations: 9.169 MB / 446.5 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009077/0.284, allocations: 55.38 kB / 446.5 MB, free: 8.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001268/0.2853, allocations: 402.4 kB / 446.9 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003223/0.2885, allocations: 0.8419 MB / 447.7 MB, free: 6.875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002644/0.2912, allocations: 0.5987 MB / 448.3 MB, free: 6.273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00367/0.2949, allocations: 1.733 MB / 450.1 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003034/0.2952, allocations: 103.3 kB / 450.2 MB, free: 4.418 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005508/0.2957, allocations: 326.5 kB / 450.5 MB, free: 4.098 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004828/0.2962, allocations: 325.9 kB / 450.8 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.22e-05/0.2963, allocations: 28 kB / 450.8 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002067/0.2983, allocations: 0.6595 MB / 451.5 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.2984, allocations: 111.3 kB / 451.6 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004457/0.2989, allocations: 405.5 kB / 452 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001783/0.3007, allocations: 1.221 MB / 453.2 MB, free: 1.355 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3007, allocations: 0 / 453.2 MB, free: 1.355 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3007, allocations: 0 / 453.2 MB, free: 1.355 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.083e-05/0.3007, allocations: 0 / 453.2 MB, free: 1.355 MB / 350.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.00206/0.3028, allocations: 1.234 MB / 454.5 MB, free: 88 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.3028, allocations: 12.03 kB / 454.5 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.208e-05/0.3028, allocations: 8.688 kB / 454.5 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.606e-05/0.3029, allocations: 62.78 kB / 454.5 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003174/0.3032, allocations: 132.1 kB / 454.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/0.3046, allocations: 0.7884 MB / 455.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.3046, allocations: 16.5 kB / 455.5 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.993e-05/0.3046, allocations: 27.95 kB / 455.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005576/0.3052, allocations: 315.8 kB / 455.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.3052, allocations: 0 / 455.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.603e-05/0.3053, allocations: 8 kB / 455.8 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.3053, allocations: 8 kB / 455.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004374/0.3057, allocations: 238 kB / 456.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001858/0.3076, allocations: 1.152 MB / 457.2 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003907/0.308, allocations: 185.6 kB / 457.4 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003381/0.3083, allocations: 201.2 kB / 457.6 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006711/0.315, allocations: 3.107 MB / 460.7 MB, free: 9.672 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/0.315, allocations: 38.56 kB / 460.7 MB, free: 9.625 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 2.064e-06/0.315, allocations: 0 / 460.7 MB, free: 9.625 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.001633/0.3167, allocations: 0.5756 MB / 461.3 MB, free: 9.039 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.717e-05/0.3167, allocations: 85.05 kB / 461.4 MB, free: 8.938 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009788/0.3177, allocations: 0.7987 MB / 462.2 MB, free: 8.121 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.3e-05/0.3178, allocations: 29.7 kB / 462.2 MB, free: 8.086 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003916/0.3182, allocations: 441 kB / 462.7 MB, free: 7.652 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.657e-05/0.3182, allocations: 87.25 kB / 462.7 MB, free: 7.566 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.859e-05/0.3183, allocations: 57.89 kB / 462.8 MB, free: 7.504 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3185, allocations: 325.9 kB / 463.1 MB, free: 7.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.3186, allocations: 68.2 kB / 463.2 MB, free: 7.113 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/0.3188, allocations: 141.8 kB / 463.3 MB, free: 6.941 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003629/0.3192, allocations: 229 kB / 463.5 MB, free: 6.688 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.3192, allocations: 4 kB / 463.5 MB, free: 6.684 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006532/0.3199, allocations: 412.1 kB / 463.9 MB, free: 6.273 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.3199, allocations: 4.281 kB / 464 MB, free: 6.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.575e-05/0.3199, allocations: 24 kB / 464 MB, free: 6.246 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003917/0.3203, allocations: 139.3 kB / 464.1 MB, free: 6.109 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.3205, allocations: 31.92 kB / 464.1 MB, free: 6.078 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007176/0.3212, allocations: 0.7085 MB / 464.9 MB, free: 5.344 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002564/0.3215, allocations: 27.8 kB / 464.9 MB, free: 5.316 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.766e-05/0.3215, allocations: 12 kB / 464.9 MB, free: 5.305 MB / 366.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.0002638/0.3218, allocations: 197.8 kB / 465.1 MB, free: 5.102 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.3219, allocations: 107.3 kB / 465.2 MB, free: 4.996 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007989/0.3227, allocations: 403.4 kB / 465.6 MB, free: 4.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.3227, allocations: 7.938 kB / 465.6 MB, free: 4.582 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3227, allocations: 0 / 465.6 MB, free: 4.582 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.3227, allocations: 3.984 kB / 465.6 MB, free: 4.578 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006316/0.3233, allocations: 486.6 kB / 466.1 MB, free: 4.062 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-05/0.3234, allocations: 16 kB / 466.1 MB, free: 4.047 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.3235, allocations: 15.98 kB / 466.1 MB, free: 4.031 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003083/0.3238, allocations: 151 kB / 466.2 MB, free: 3.883 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.3238, allocations: 12 kB / 466.3 MB, free: 3.871 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006724/0.3245, allocations: 0.7007 MB / 467 MB, free: 3.145 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3245, allocations: 0 / 467 MB, free: 3.145 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006101/0.3251, allocations: 448.4 kB / 467.4 MB, free: 2.688 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001909/0.3253, allocations: 95.33 kB / 467.5 MB, free: 2.594 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.113e-05/0.3254, allocations: 8.062 kB / 467.5 MB, free: 2.586 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.3256, allocations: 7.938 kB / 467.5 MB, free: 2.578 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.989e-05/0.3256, allocations: 23.92 kB / 467.5 MB, free: 2.555 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/0.3257, allocations: 11.94 kB / 467.5 MB, free: 2.543 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006506/0.3263, allocations: 0.5383 MB / 468.1 MB, free: 1.996 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3263, allocations: 0 / 468.1 MB, free: 1.996 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005989/0.3269, allocations: 199.6 kB / 468.3 MB, free: 1.801 MB / 366.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.001431/0.3283, allocations: 1.177 MB / 469.5 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006035/0.3289, allocations: 279.9 kB / 469.7 MB, free: 316 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.329, allocations: 4 kB / 469.7 MB, free: 312 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002966/0.3292, allocations: 167.3 kB / 469.9 MB, free: 132 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007927/0.33, allocations: 163 kB / 470.1 MB, free: 15.97 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007715/0.3378, allocations: 5.33 MB / 475.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006861/0.3384, allocations: 0.9413 MB / 476.3 MB, free: 9.484 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003496/0.3388, allocations: 110.7 kB / 476.4 MB, free: 9.371 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004124/0.3392, allocations: 311.3 kB / 476.7 MB, free: 9.066 MB / 382.1 MB Notification: Performance of SimCode: time 1.222e-06/0.3392, allocations: 0 / 476.7 MB, free: 9.066 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05148/0.3907, allocations: 18.71 MB / 495.4 MB, free: 6.508 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.83/15.22, allocations: 11.42 kB / 495.5 MB, free: 6.5 MB / 398.1 MB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Spice3_Examples_CascodeCircuit_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0002 --timeout=50 --tolerance=1e-07 Modelica_trunk_Modelica_Electrical_Spice3_Examples_CascodeCircuit.fmu > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.88423279597191]