Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001714/0.001714, allocations: 109 kB / 21.23 MB, free: 0.6641 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.002039/0.002039, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.544/1.544, allocations: 230.6 MB / 258.3 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_CascodeCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CascodeCircuit,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_CascodeCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 60.78 kB / 378.5 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2943, allocations: 53.37 MB / 431.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.006615/0.3009, allocations: 5.321 MB / 437.2 MB, free: 1.543 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0113/0.3122, allocations: 9.161 MB / 446.4 MB, free: 8.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006487/0.3129, allocations: 59.38 kB / 446.5 MB, free: 8.285 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.3139, allocations: 406.5 kB / 446.8 MB, free: 7.887 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002466/0.3163, allocations: 0.8342 MB / 447.7 MB, free: 7.047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001653/0.318, allocations: 0.6104 MB / 448.3 MB, free: 6.434 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002755/0.3208, allocations: 1.732 MB / 450 MB, free: 4.695 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002516/0.321, allocations: 99.34 kB / 450.1 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005201/0.3215, allocations: 334.4 kB / 450.4 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004349/0.322, allocations: 318 kB / 450.8 MB, free: 3.941 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.706e-05/0.322, allocations: 32 kB / 450.8 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001617/0.3236, allocations: 0.6556 MB / 451.4 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.3237, allocations: 103.3 kB / 451.5 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004193/0.3242, allocations: 413.5 kB / 452 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001773/0.3259, allocations: 1.218 MB / 453.2 MB, free: 1.523 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3259, allocations: 0 / 453.2 MB, free: 1.523 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3259, allocations: 0 / 453.2 MB, free: 1.523 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.326, allocations: 4 kB / 453.2 MB, free: 1.52 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.001936/0.3279, allocations: 1.238 MB / 454.4 MB, free: 252 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.3279, allocations: 12.03 kB / 454.4 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.666e-05/0.328, allocations: 70.72 kB / 454.5 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002905/0.3283, allocations: 132.2 kB / 454.6 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.3295, allocations: 0.7809 MB / 455.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.3296, allocations: 20.5 kB / 455.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.777e-05/0.3296, allocations: 27.95 kB / 455.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005573/0.3302, allocations: 311.8 kB / 455.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.3302, allocations: 0 / 455.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.934e-05/0.3302, allocations: 8 kB / 455.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.3302, allocations: 8 kB / 455.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004383/0.3307, allocations: 234 kB / 456 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001921/0.3326, allocations: 1.156 MB / 457.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003799/0.333, allocations: 178.6 kB / 457.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003238/0.3333, allocations: 197.2 kB / 457.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006678/0.34, allocations: 3.111 MB / 460.6 MB, free: 9.844 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.633e-05/0.34, allocations: 34.56 kB / 460.7 MB, free: 9.801 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 2.525e-06/0.34, allocations: 0 / 460.7 MB, free: 9.801 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.001685/0.3417, allocations: 0.5795 MB / 461.2 MB, free: 9.211 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/0.3418, allocations: 81.11 kB / 461.3 MB, free: 9.113 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009899/0.3428, allocations: 0.7987 MB / 462.1 MB, free: 8.297 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.3428, allocations: 29.7 kB / 462.2 MB, free: 8.262 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004073/0.3432, allocations: 445 kB / 462.6 MB, free: 7.824 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.04e-05/0.3433, allocations: 83.27 kB / 462.7 MB, free: 7.742 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.422e-05/0.3434, allocations: 57.89 kB / 462.7 MB, free: 7.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.3435, allocations: 325.9 kB / 463 MB, free: 7.355 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.3437, allocations: 64.2 kB / 463.1 MB, free: 7.293 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002309/0.3439, allocations: 141.9 kB / 463.2 MB, free: 7.121 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003877/0.3443, allocations: 240.9 kB / 463.5 MB, free: 6.859 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3443, allocations: 4 kB / 463.5 MB, free: 6.855 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006769/0.345, allocations: 409.3 kB / 463.9 MB, free: 6.445 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.345, allocations: 4 kB / 463.9 MB, free: 6.441 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.598e-05/0.345, allocations: 16 kB / 463.9 MB, free: 6.426 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003883/0.3454, allocations: 141.1 kB / 464 MB, free: 6.285 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.3456, allocations: 35.91 kB / 464.1 MB, free: 6.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007326/0.3463, allocations: 0.7032 MB / 464.8 MB, free: 5.523 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002631/0.3466, allocations: 35.75 kB / 464.8 MB, free: 5.488 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.09e-05/0.3466, allocations: 16 kB / 464.8 MB, free: 5.473 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.0002852/0.3469, allocations: 205.8 kB / 465 MB, free: 5.262 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.3471, allocations: 107.3 kB / 465.1 MB, free: 5.156 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008233/0.3479, allocations: 403.3 kB / 465.5 MB, free: 4.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.3479, allocations: 4 kB / 465.5 MB, free: 4.746 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.3479, allocations: 7.984 kB / 465.5 MB, free: 4.738 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3479, allocations: 0 / 465.5 MB, free: 4.738 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007155/0.3486, allocations: 490.6 kB / 466 MB, free: 4.219 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.406e-05/0.3486, allocations: 12 kB / 466 MB, free: 4.207 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.3488, allocations: 23.97 kB / 466.1 MB, free: 4.184 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003126/0.3491, allocations: 140.6 kB / 466.2 MB, free: 4.043 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.3491, allocations: 8 kB / 466.2 MB, free: 4.035 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007082/0.3498, allocations: 0.6968 MB / 466.9 MB, free: 3.312 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3498, allocations: 0 / 466.9 MB, free: 3.312 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000663/0.3505, allocations: 455.3 kB / 467.3 MB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000202/0.3507, allocations: 91.33 kB / 467.4 MB, free: 2.762 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.99e-05/0.3508, allocations: 4 kB / 467.4 MB, free: 2.758 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.351, allocations: 11.98 kB / 467.4 MB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.54e-05/0.351, allocations: 15.94 kB / 467.5 MB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/0.3511, allocations: 8 kB / 467.5 MB, free: 2.723 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007531/0.3518, allocations: 0.5499 MB / 468 MB, free: 2.164 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3518, allocations: 0 / 468 MB, free: 2.164 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006335/0.3524, allocations: 199.6 kB / 468.2 MB, free: 1.969 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.001489/0.3539, allocations: 1.181 MB / 469.4 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006562/0.3546, allocations: 271.4 kB / 469.7 MB, free: 492 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3546, allocations: 0 / 469.7 MB, free: 492 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003106/0.3549, allocations: 173.5 kB / 469.8 MB, free: 308 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007553/0.3557, allocations: 152.8 kB / 470 MB, free: 152 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007681/0.3633, allocations: 5.341 MB / 475.3 MB, free: 10.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006263/0.364, allocations: 0.9413 MB / 476.3 MB, free: 9.656 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003913/0.3644, allocations: 106.7 kB / 476.4 MB, free: 9.547 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000367/0.3647, allocations: 315.3 kB / 476.7 MB, free: 9.238 MB / 382.1 MB Notification: Performance of SimCode: time 1.714e-06/0.3647, allocations: 0 / 476.7 MB, free: 9.238 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07289/0.4376, allocations: 18.65 MB / 495.3 MB, free: 6.797 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.54/14.98, allocations: 18.28 kB / 495.3 MB, free: 6.781 MB / 398.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_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_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_CascodeCircuit.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.603362060151994] Failed to read output from testmodel.py, exit status != 0: ['time', 'J2.D.v', 'RC.v', 'J1.D.v'] 15.08199494984001 15.109073094 14.777752629 Calling exit ...