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.001803/0.001803, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002239/0.002239, allocations: 212.7 kB / 24.52 MB, free: 3.91 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.493/1.493, allocations: 230.5 MB / 258.2 MB, free: 7.777 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.001813/0.001813, allocations: 56.09 kB / 378.5 MB, free: 2.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2667, allocations: 53.42 MB / 431.9 MB, free: 6.605 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.006216/0.2729, allocations: 4.624 MB / 436.5 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01087/0.2838, allocations: 7.882 MB / 444.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006994/0.2845, allocations: 59.31 kB / 444.5 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.2855, allocations: 353.6 kB / 444.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002945/0.2885, allocations: 0.8575 MB / 445.7 MB, free: 8.781 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002232/0.2907, allocations: 0.587 MB / 446.3 MB, free: 8.191 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003264/0.294, allocations: 1.733 MB / 448 MB, free: 6.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002902/0.2943, allocations: 103.3 kB / 448.1 MB, free: 6.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006312/0.2949, allocations: 326.5 kB / 448.4 MB, free: 6.016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004704/0.2954, allocations: 326 kB / 448.7 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.934e-05/0.2954, allocations: 32 kB / 448.8 MB, free: 5.664 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001714/0.2971, allocations: 0.6009 MB / 449.4 MB, free: 5.062 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.2973, allocations: 99.33 kB / 449.5 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003851/0.2976, allocations: 318.1 kB / 449.8 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001706/0.2994, allocations: 1.222 MB / 451 MB, free: 3.426 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.2994, allocations: 0 / 451 MB, free: 3.426 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2994, allocations: 4 kB / 451 MB, free: 3.422 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.628e-05/0.2994, allocations: 3.984 kB / 451 MB, free: 3.418 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.001939/0.3013, allocations: 1.234 MB / 452.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.3014, allocations: 8.031 kB / 452.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.179e-05/0.3014, allocations: 8.688 kB / 452.3 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.358e-05/0.3015, allocations: 66.7 kB / 452.3 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003086/0.3018, allocations: 136.2 kB / 452.5 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/0.303, allocations: 0.7807 MB / 453.2 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/0.3031, allocations: 24.44 kB / 453.3 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.762e-05/0.3031, allocations: 27.95 kB / 453.3 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006275/0.3038, allocations: 337.5 kB / 453.6 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.3038, allocations: 0 / 453.6 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.588e-05/0.3038, allocations: 12 kB / 453.6 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.788e-05/0.3038, allocations: 8 kB / 453.6 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004392/0.3043, allocations: 234 kB / 453.9 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001911/0.3062, allocations: 1.101 MB / 455 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003883/0.3066, allocations: 177.7 kB / 455.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003452/0.3069, allocations: 201.2 kB / 455.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007019/0.3139, allocations: 3.088 MB / 458.4 MB, free: 11.78 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.314, allocations: 34.56 kB / 458.5 MB, free: 11.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 2.224e-06/0.314, allocations: 3.938 kB / 458.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.001825/0.3158, allocations: 0.5795 MB / 459 MB, free: 11.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.3159, allocations: 81.11 kB / 459.1 MB, free: 11.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/0.3169, allocations: 0.7987 MB / 459.9 MB, free: 10.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.235e-05/0.3169, allocations: 29.7 kB / 459.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000439/0.3173, allocations: 445 kB / 460.4 MB, free: 9.758 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/0.3175, allocations: 91.19 kB / 460.5 MB, free: 9.668 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.3176, allocations: 61.89 kB / 460.5 MB, free: 9.602 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.3177, allocations: 317.9 kB / 460.8 MB, free: 9.285 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/0.3179, allocations: 68.2 kB / 460.9 MB, free: 9.219 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002216/0.3181, allocations: 171.6 kB / 461.1 MB, free: 9.012 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000377/0.3185, allocations: 225 kB / 461.3 MB, free: 8.762 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3185, allocations: 0 / 461.3 MB, free: 8.762 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006563/0.3192, allocations: 409.4 kB / 461.7 MB, free: 8.352 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.3192, allocations: 8 kB / 461.7 MB, free: 8.344 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.689e-05/0.3192, allocations: 12 kB / 461.7 MB, free: 8.332 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000398/0.3196, allocations: 141.1 kB / 461.9 MB, free: 8.191 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.3198, allocations: 39.97 kB / 461.9 MB, free: 8.152 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007871/0.3206, allocations: 0.7034 MB / 462.6 MB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/0.3208, allocations: 27.8 kB / 462.6 MB, free: 7.398 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-05/0.3209, allocations: 15.98 kB / 462.6 MB, free: 7.383 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.0002724/0.3212, allocations: 197.7 kB / 462.8 MB, free: 7.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.3213, allocations: 111.3 kB / 462.9 MB, free: 7.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008029/0.3221, allocations: 403.5 kB / 463.3 MB, free: 6.664 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.3221, allocations: 4 kB / 463.3 MB, free: 6.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3221, allocations: 0 / 463.3 MB, free: 6.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.3221, allocations: 3.984 kB / 463.3 MB, free: 6.656 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006283/0.3227, allocations: 466.6 kB / 463.8 MB, free: 6.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-05/0.3228, allocations: 20 kB / 463.8 MB, free: 6.141 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.3229, allocations: 19.92 kB / 463.8 MB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002902/0.3232, allocations: 143.3 kB / 464 MB, free: 5.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.48e-05/0.3232, allocations: 8 kB / 464 MB, free: 5.973 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006807/0.3239, allocations: 0.7007 MB / 464.7 MB, free: 5.246 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3239, allocations: 0 / 464.7 MB, free: 5.246 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006171/0.3245, allocations: 452.4 kB / 465.1 MB, free: 4.785 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001837/0.3247, allocations: 91.33 kB / 465.2 MB, free: 4.695 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.366e-05/0.3248, allocations: 4 kB / 465.2 MB, free: 4.691 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.325, allocations: 8 kB / 465.2 MB, free: 4.684 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.73e-05/0.325, allocations: 19.92 kB / 465.2 MB, free: 4.664 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.724e-05/0.3251, allocations: 11.94 kB / 465.3 MB, free: 4.652 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007469/0.3258, allocations: 0.5423 MB / 465.8 MB, free: 4.102 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3258, allocations: 64 / 465.8 MB, free: 4.102 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006861/0.3265, allocations: 203.6 kB / 466 MB, free: 3.902 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.001524/0.328, allocations: 1.181 MB / 467.2 MB, free: 2.691 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006261/0.3286, allocations: 268 kB / 467.4 MB, free: 2.418 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3286, allocations: 0 / 467.4 MB, free: 2.418 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002983/0.3289, allocations: 179.3 kB / 467.6 MB, free: 2.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007627/0.3297, allocations: 156.2 kB / 467.8 MB, free: 2.074 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007887/0.3376, allocations: 5.336 MB / 473.1 MB, free: 12.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.338, allocations: 349.3 kB / 473.4 MB, free: 12.19 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003425/0.3383, allocations: 110.7 kB / 473.6 MB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003823/0.3387, allocations: 307.3 kB / 473.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of SimCode: time 1.312e-06/0.3387, allocations: 4 kB / 473.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04765/0.3863, allocations: 18.57 MB / 492.4 MB, free: 9.383 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.78/15.17, allocations: 6.688 kB / 492.4 MB, free: 9.383 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.813954406999983]