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.001816/0.001816, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002374/0.002374, allocations: 215.5 kB / 23.73 MB, free: 4.406 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.446/1.446, allocations: 230.5 MB / 257.4 MB, free: 7.805 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CascodeCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_CascodeCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002928/0.002928, allocations: 63.89 kB / 377.7 MB, free: 2.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2461, allocations: 53.41 MB / 431.1 MB, free: 6.492 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.006483/0.2526, allocations: 4.649 MB / 435.8 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01108/0.2637, allocations: 7.878 MB / 443.7 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000567/0.2642, allocations: 55.38 kB / 443.7 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009285/0.2651, allocations: 357.5 kB / 444.1 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002559/0.2677, allocations: 0.8459 MB / 444.9 MB, free: 8.656 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001608/0.2693, allocations: 0.6026 MB / 445.5 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00241/0.2717, allocations: 1.729 MB / 447.2 MB, free: 6.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00022/0.2719, allocations: 91.34 kB / 447.3 MB, free: 6.211 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000425/0.2724, allocations: 334.4 kB / 447.7 MB, free: 5.883 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000402/0.2728, allocations: 306 kB / 448 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.102e-05/0.2728, allocations: 28 kB / 448 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001171/0.274, allocations: 0.5736 MB / 448.6 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.499e-05/0.2741, allocations: 99.39 kB / 448.7 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003079/0.2744, allocations: 306.1 kB / 448.9 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001455/0.2759, allocations: 1.229 MB / 450.2 MB, free: 3.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.2759, allocations: 0 / 450.2 MB, free: 3.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2759, allocations: 0 / 450.2 MB, free: 3.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.2759, allocations: 4 kB / 450.2 MB, free: 3.344 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.001968/0.2778, allocations: 1.246 MB / 451.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.2779, allocations: 15.98 kB / 451.4 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.515e-05/0.278, allocations: 62.72 kB / 451.5 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002822/0.2782, allocations: 128.2 kB / 451.6 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/0.2796, allocations: 0.7809 MB / 452.4 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.2796, allocations: 20.44 kB / 452.4 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.273e-05/0.2797, allocations: 31.94 kB / 452.5 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005419/0.2802, allocations: 341.5 kB / 452.8 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.2802, allocations: 0 / 452.8 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.99e-05/0.2802, allocations: 12 kB / 452.8 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.2802, allocations: 8 kB / 452.8 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004227/0.2807, allocations: 230 kB / 453 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001749/0.2824, allocations: 1.097 MB / 454.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003658/0.2828, allocations: 181.7 kB / 454.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003299/0.2831, allocations: 205.2 kB / 454.5 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006837/0.29, allocations: 3.088 MB / 457.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.29, allocations: 30.56 kB / 457.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 1.703e-06/0.29, allocations: 3.938 kB / 457.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.00159/0.2916, allocations: 0.5834 MB / 458.2 MB, free: 11.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.659e-05/0.2916, allocations: 77.11 kB / 458.3 MB, free: 10.97 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009357/0.2926, allocations: 0.8025 MB / 459.1 MB, free: 10.15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.2926, allocations: 29.7 kB / 459.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003936/0.293, allocations: 445 kB / 459.6 MB, free: 9.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.069e-05/0.2931, allocations: 83.27 kB / 459.6 MB, free: 9.598 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.487e-05/0.2932, allocations: 65.92 kB / 459.7 MB, free: 9.527 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.2933, allocations: 313.9 kB / 460 MB, free: 9.215 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.2934, allocations: 68.2 kB / 460.1 MB, free: 9.148 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002185/0.2937, allocations: 167.6 kB / 460.2 MB, free: 8.945 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003774/0.294, allocations: 240.8 kB / 460.5 MB, free: 8.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.294, allocations: 0 / 460.5 MB, free: 8.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006439/0.2947, allocations: 401.8 kB / 460.9 MB, free: 8.277 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.2947, allocations: 12 kB / 460.9 MB, free: 8.266 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.157e-05/0.2947, allocations: 12 kB / 460.9 MB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003716/0.2951, allocations: 136.8 kB / 461 MB, free: 8.117 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.2953, allocations: 35.92 kB / 461.1 MB, free: 8.082 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007017/0.296, allocations: 0.715 MB / 461.8 MB, free: 7.344 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002442/0.2962, allocations: 27.78 kB / 461.8 MB, free: 7.316 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/0.2963, allocations: 16 kB / 461.8 MB, free: 7.301 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.0002423/0.2965, allocations: 194.4 kB / 462 MB, free: 7.102 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.2966, allocations: 111.3 kB / 462.1 MB, free: 6.992 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007919/0.2974, allocations: 410.2 kB / 462.5 MB, free: 6.582 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.2974, allocations: 0 / 462.5 MB, free: 6.582 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.2974, allocations: 0 / 462.5 MB, free: 6.582 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2974, allocations: 0 / 462.5 MB, free: 6.582 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006098/0.298, allocations: 478.6 kB / 463 MB, free: 6.074 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-05/0.2981, allocations: 8 kB / 463 MB, free: 6.066 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.2982, allocations: 19.98 kB / 463 MB, free: 6.047 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002881/0.2985, allocations: 148.6 kB / 463.2 MB, free: 5.898 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.2985, allocations: 8 kB / 463.2 MB, free: 5.891 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006937/0.2992, allocations: 0.6967 MB / 463.9 MB, free: 5.168 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2992, allocations: 0 / 463.9 MB, free: 5.168 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006046/0.2998, allocations: 444.4 kB / 464.3 MB, free: 4.715 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002076/0.3, allocations: 107.3 kB / 464.4 MB, free: 4.609 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.143e-05/0.3001, allocations: 4 kB / 464.4 MB, free: 4.605 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.3003, allocations: 4 kB / 464.4 MB, free: 4.602 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.888e-05/0.3003, allocations: 23.91 kB / 464.4 MB, free: 4.578 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.3004, allocations: 8 kB / 464.4 MB, free: 4.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007073/0.3011, allocations: 0.5461 MB / 465 MB, free: 4.016 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3011, allocations: 0 / 465 MB, free: 4.016 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005796/0.3017, allocations: 195.7 kB / 465.2 MB, free: 3.824 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.001416/0.3031, allocations: 1.188 MB / 466.4 MB, free: 2.609 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005734/0.3036, allocations: 267.4 kB / 466.6 MB, free: 2.336 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3036, allocations: 0 / 466.6 MB, free: 2.336 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000362/0.304, allocations: 167.3 kB / 466.8 MB, free: 2.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007686/0.3048, allocations: 168.8 kB / 467 MB, free: 1.992 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007223/0.312, allocations: 5.328 MB / 472.3 MB, free: 12.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.3123, allocations: 349.4 kB / 472.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003165/0.3127, allocations: 114.7 kB / 472.7 MB, free: 11.99 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003515/0.313, allocations: 307.3 kB / 473 MB, free: 11.69 MB / 382.1 MB Notification: Performance of SimCode: time 6.92e-07/0.313, allocations: 0 / 473 MB, free: 11.69 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05361/0.3666, allocations: 18.85 MB / 491.9 MB, free: 9.02 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/13.68, allocations: 7.312 kB / 491.9 MB, free: 9.016 MB / 398.1 MB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_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_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.csv","/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] "Error: Could not read variable J2.D.v in file Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.csv. Warning: Get data of variable J2.D.v from file Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.csv failed! Error: Could not read variable RC.v in file Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.csv. Warning: Get data of variable RC.v from file Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.csv failed! Error: Could not read variable J1.D.v in file Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.csv. Warning: Get data of variable J1.D.v from file Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.200940646231174]