Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 112 kB / 20.43 MB, free: 1.309 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 189.3 kB / 23.72 MB, free: 4.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 47.92 kB / 370.5 MB, free: 9.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2747, allocations: 52.18 MB / 422.6 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.007518/0.2822, allocations: 6.11 MB / 428.8 MB, free: 8.625 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00301/0.2852, allocations: 1.521 MB / 430.3 MB, free: 7.094 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003923/0.2856, allocations: 23.88 kB / 430.3 MB, free: 7.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003822/0.286, allocations: 170.3 kB / 430.5 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005403/0.2865, allocations: 293.2 kB / 430.8 MB, free: 6.613 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007897/0.2873, allocations: 415.4 kB / 431.2 MB, free: 6.207 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001478/0.2888, allocations: 1.387 MB / 432.5 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005224/0.2893, allocations: 305.7 kB / 432.8 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007977/0.2901, allocations: 0.5062 MB / 433.4 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007589/0.2909, allocations: 0.5602 MB / 433.9 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001765/0.291, allocations: 136 kB / 434 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002975/0.2913, allocations: 172 kB / 434.2 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002424/0.2916, allocations: 275.1 kB / 434.5 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005785/0.2922, allocations: 0.5872 MB / 435.1 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001747/0.2939, allocations: 1.542 MB / 436.6 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.2939, allocations: 4 kB / 436.6 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2939, allocations: 0 / 436.6 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.734e-05/0.2939, allocations: 0 / 436.6 MB, free: 0.7148 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: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.002992/0.2969, allocations: 1.338 MB / 438 MB, free: 15.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.297, allocations: 12.03 kB / 438 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000177/0.2971, allocations: 135.6 kB / 438.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001927/0.2973, allocations: 124.2 kB / 438.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009531/0.2983, allocations: 497.8 kB / 438.7 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.501e-05/0.2984, allocations: 66.38 kB / 438.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/0.2985, allocations: 96.27 kB / 438.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001581/0.3001, allocations: 0.8586 MB / 439.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.3001, allocations: 0 / 439.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.462e-05/0.3002, allocations: 40 kB / 439.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.211e-05/0.3002, allocations: 20 kB / 439.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001686/0.3019, allocations: 0.855 MB / 440.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005785/0.3077, allocations: 3.15 MB / 443.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001199/0.3089, allocations: 0.6295 MB / 444.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007145/0.3096, allocations: 395.2 kB / 444.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.039e-05/0.3097, allocations: 24.56 kB / 444.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/0.3097, allocations: 43.22 kB / 444.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.645e-06/0.3097, allocations: 0 / 444.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004885/0.3146, allocations: 2.198 MB / 447.1 MB, free: 6.016 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.3147, allocations: 56.06 kB / 447.1 MB, free: 5.949 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008692/0.3155, allocations: 0.6096 MB / 447.7 MB, free: 5.336 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.122e-05/0.3156, allocations: 37.7 kB / 447.8 MB, free: 5.293 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003914/0.316, allocations: 456.3 kB / 448.2 MB, free: 4.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002475/0.3162, allocations: 273.7 kB / 448.5 MB, free: 4.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000275/0.3165, allocations: 142.6 kB / 448.6 MB, free: 4.426 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002149/0.3167, allocations: 390.7 kB / 449 MB, free: 4.035 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007037/0.3174, allocations: 329.9 kB / 449.3 MB, free: 3.711 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007947/0.3182, allocations: 468.6 kB / 449.8 MB, free: 3.203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001413/0.3196, allocations: 0.8086 MB / 450.6 MB, free: 2.348 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.3196, allocations: 4 kB / 450.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002257/0.3219, allocations: 1.107 MB / 451.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.3219, allocations: 12.08 kB / 451.7 MB, free: 1.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.3219, allocations: 4 kB / 451.7 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005914/0.3225, allocations: 180.7 kB / 451.9 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009087/0.3234, allocations: 207.7 kB / 452.1 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004169/0.3276, allocations: 2.781 MB / 454.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008584/0.3285, allocations: 36.03 kB / 454.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.817e-05/0.3285, allocations: 39.98 kB / 454.9 MB, free: 13.86 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (90): * Single equations (assignments): 89 * 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): 1 system {(5,13,72.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004841/0.329, allocations: 225.7 kB / 455.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/0.3292, allocations: 91.42 kB / 455.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002189/0.3294, allocations: 87.27 kB / 455.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.3294, allocations: 8 kB / 455.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.396e-05/0.3295, allocations: 7.938 kB / 455.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.3295, allocations: 7.922 kB / 455.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.3307, allocations: 0.8682 MB / 456.2 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3307, allocations: 0 / 456.2 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007507/0.3315, allocations: 143.8 kB / 456.4 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005678/0.332, allocations: 187.7 kB / 456.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.228e-05/0.3321, allocations: 23.98 kB / 456.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004196/0.3363, allocations: 2.784 MB / 459.4 MB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3363, allocations: 0 / 459.4 MB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002891/0.3392, allocations: 1.424 MB / 460.8 MB, free: 7.828 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002003/0.3394, allocations: 75.47 kB / 460.9 MB, free: 7.754 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.3395, allocations: 16 kB / 460.9 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006181/0.3401, allocations: 51.95 kB / 460.9 MB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/0.3403, allocations: 64.56 kB / 461 MB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.762e-05/0.3403, allocations: 23.98 kB / 461 MB, free: 7.602 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005595/0.3409, allocations: 427.1 kB / 461.4 MB, free: 7.188 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3409, allocations: 0 / 461.4 MB, free: 7.188 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008474/0.3417, allocations: 240 kB / 461.7 MB, free: 6.953 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (C1.v,C4.v,C5.v,C2.v,C3.v,Transistor1.ct.v,Transistor1.Tr.vcs,Transistor2.ct.v,Transistor2.Tr.vcs) * 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 (56): * Single equations (assignments): 55 * 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): 1 system {(5,13,72.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003154/0.3449, allocations: 1.996 MB / 463.7 MB, free: 4.926 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002384/0.3473, allocations: 1.005 MB / 464.7 MB, free: 3.902 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3473, allocations: 0 / 464.7 MB, free: 3.902 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001441/0.3487, allocations: 0.6121 MB / 465.3 MB, free: 3.277 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008298/0.3495, allocations: 143.4 kB / 465.4 MB, free: 3.141 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01265/0.3622, allocations: 7.463 MB / 472.9 MB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000676/0.3629, allocations: 0.9814 MB / 473.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004264/0.3633, allocations: 93.45 kB / 474 MB, free: 10.35 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000442/0.3637, allocations: 319.3 kB / 474.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of SimCode: time 1.433e-06/0.3637, allocations: 0 / 474.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05777/0.4215, allocations: 19.74 MB / 494 MB, free: 6.562 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/13.28, allocations: 0 / 494 MB, free: 6.562 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_DifferenceAmplifier.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.777727665001294] Failed to read output from testmodel.py, exit status != 0: ['time', 'C1.v', 'C2.v', 'C3.v', 'C4.v', 'C5.v', 'Transistor1.Tr.C.v', 'Transistor1.ct.v', 'Transistor2.Tr.C.v', 'Transistor2.ct.v'] 13.39689845799876 13.413880604 13.11654617 Calling exit ...