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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001727/0.001727, allocations: 103.6 kB / 21.18 MB, free: 472 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002143/0.002143, allocations: 214.4 kB / 24.47 MB, free: 3.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 207.7 MB / 235.3 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 51.92 kB / 347.2 MB, free: 9.906 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2454, allocations: 49.15 MB / 396.3 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.004706/0.2501, allocations: 4.52 MB / 400.9 MB, free: 5.859 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007744/0.2579, allocations: 7.488 MB / 408.3 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005355/0.2584, allocations: 57.12 kB / 408.4 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008397/0.2593, allocations: 356 kB / 408.7 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001995/0.2613, allocations: 0.828 MB / 409.6 MB, free: 32 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001532/0.2628, allocations: 0.581 MB / 410.2 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002489/0.2653, allocations: 1.662 MB / 411.8 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002266/0.2655, allocations: 98.12 kB / 411.9 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004154/0.2659, allocations: 299 kB / 412.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004054/0.2663, allocations: 294.9 kB / 412.5 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.015e-05/0.2664, allocations: 29.09 kB / 412.5 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.2676, allocations: 0.5284 MB / 413.1 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.2677, allocations: 98.64 kB / 413.1 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003014/0.268, allocations: 313.9 kB / 413.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001452/0.2694, allocations: 1.211 MB / 414.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.365e-06/0.2694, allocations: 4 kB / 414.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2694, allocations: 4 kB / 414.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.628e-05/0.2694, allocations: 0 / 414.7 MB, free: 13.55 MB / 334.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.002076/0.2715, allocations: 1.235 MB / 415.9 MB, free: 12.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.2716, allocations: 17.14 kB / 415.9 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.061e-05/0.2716, allocations: 64.03 kB / 416 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001778/0.2718, allocations: 119.9 kB / 416.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/0.2732, allocations: 0.7771 MB / 416.9 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.2732, allocations: 18.12 kB / 416.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.202e-05/0.2733, allocations: 27.84 kB / 416.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005877/0.2739, allocations: 336.8 kB / 417.3 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.2739, allocations: 0 / 417.3 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.316e-05/0.2739, allocations: 10.25 kB / 417.3 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.2739, allocations: 9.625 kB / 417.3 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004299/0.2744, allocations: 235.3 kB / 417.5 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001793/0.2762, allocations: 1.1 MB / 418.6 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003586/0.2765, allocations: 184.2 kB / 418.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003232/0.2769, allocations: 195 kB / 419 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006409/0.2833, allocations: 3.075 MB / 422.1 MB, free: 8.836 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.2833, allocations: 36.92 kB / 422.1 MB, free: 8.793 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 1.593e-06/0.2833, allocations: 0 / 422.1 MB, free: 8.793 MB / 334.1 MB Notification: Performance of matching and sorting (n=23): time 0.001566/0.2849, allocations: 0.5836 MB / 422.7 MB, free: 8.484 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.2849, allocations: 79.89 kB / 422.7 MB, free: 8.391 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009438/0.2859, allocations: 0.8029 MB / 423.6 MB, free: 7.602 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/0.2859, allocations: 33.7 kB / 423.6 MB, free: 7.562 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003777/0.2863, allocations: 437 kB / 424 MB, free: 7.129 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.394e-05/0.2863, allocations: 87.25 kB / 424.1 MB, free: 7.043 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.585e-05/0.2864, allocations: 65.89 kB / 424.2 MB, free: 6.973 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.2866, allocations: 317.9 kB / 424.5 MB, free: 6.656 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.2867, allocations: 72.2 kB / 424.5 MB, free: 6.586 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.2869, allocations: 171.5 kB / 424.7 MB, free: 6.379 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003534/0.2873, allocations: 220.5 kB / 424.9 MB, free: 6.133 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.2873, allocations: 0 / 424.9 MB, free: 6.133 MB / 334.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006297/0.2879, allocations: 402.1 kB / 425.3 MB, free: 5.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.2879, allocations: 8.281 kB / 425.3 MB, free: 5.723 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-05/0.288, allocations: 23.92 kB / 425.3 MB, free: 5.699 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003512/0.2883, allocations: 136.7 kB / 425.5 MB, free: 5.562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.2885, allocations: 43.91 kB / 425.5 MB, free: 5.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000676/0.2892, allocations: 0.7084 MB / 426.2 MB, free: 4.785 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002853/0.2895, allocations: 31.77 kB / 426.3 MB, free: 4.754 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.327e-05/0.2895, allocations: 12 kB / 426.3 MB, free: 4.742 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.0002381/0.2897, allocations: 189.8 kB / 426.5 MB, free: 4.547 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.2899, allocations: 111.3 kB / 426.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007721/0.2906, allocations: 419.4 kB / 427 MB, free: 4.012 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.2906, allocations: 0 / 427 MB, free: 4.012 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2906, allocations: 0 / 427 MB, free: 4.012 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.2906, allocations: 3.938 kB / 427 MB, free: 4.008 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006077/0.2913, allocations: 466.7 kB / 427.4 MB, free: 3.512 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.566e-05/0.2913, allocations: 19.94 kB / 427.5 MB, free: 3.492 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.2914, allocations: 19.97 kB / 427.5 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002646/0.2917, allocations: 136.7 kB / 427.6 MB, free: 3.336 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.2917, allocations: 4 kB / 427.6 MB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006363/0.2923, allocations: 0.6967 MB / 428.3 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.2923, allocations: 4.031 kB / 428.3 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005845/0.2929, allocations: 452.2 kB / 428.8 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002072/0.2931, allocations: 95.27 kB / 428.9 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.499e-05/0.2932, allocations: 12.06 kB / 428.9 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.2934, allocations: 7.984 kB / 428.9 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.2935, allocations: 15.92 kB / 428.9 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.2935, allocations: 15.94 kB / 428.9 MB, free: 2 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006556/0.2941, allocations: 0.5422 MB / 429.4 MB, free: 1.449 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2941, allocations: 0 / 429.4 MB, free: 1.449 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005818/0.2947, allocations: 187.7 kB / 429.6 MB, free: 1.266 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.001364/0.2961, allocations: 1.189 MB / 430.8 MB, free: 48 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005838/0.2967, allocations: 259.5 kB / 431.1 MB, free: 15.78 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2967, allocations: 0 / 431.1 MB, free: 15.78 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002924/0.297, allocations: 168.5 kB / 431.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006176/0.2976, allocations: 150.1 kB / 431.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007216/0.3048, allocations: 5.314 MB / 436.7 MB, free: 9.957 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.3051, allocations: 349.4 kB / 437 MB, free: 9.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002965/0.3054, allocations: 110.7 kB / 437.1 MB, free: 9.477 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003446/0.3058, allocations: 307.3 kB / 437.4 MB, free: 9.176 MB / 350.1 MB Notification: Performance of SimCode: time 4.9e-07/0.3058, allocations: 4 kB / 437.4 MB, free: 9.172 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05367/0.3595, allocations: 18.84 MB / 456.3 MB, free: 6.246 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.7/14.06, allocations: 4.062 kB / 456.3 MB, free: 6.242 MB / 366.1 MB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.0002 Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_CascodeCircuit.fmu > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.csv","/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) [Timeout 660] "Error: Could not read variable J2.D.v in file Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.csv. Warning: Get data of variable J2.D.v from file Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.csv failed! Error: Could not read variable RC.v in file Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.csv. Warning: Get data of variable RC.v from file Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.csv failed! Error: Could not read variable J1.D.v in file Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.csv. Warning: Get data of variable J1.D.v from file Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.505671145860106]