Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.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.001746/0.001746, 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.00215/0.00215, 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.378/1.378, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.Analog.Examples.DifferenceAmplifier,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",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.001887/0.001887, allocations: 60.78 kB / 378.6 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2373, allocations: 53.36 MB / 431.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.007031/0.2443, allocations: 6.125 MB / 438.1 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0032/0.2475, allocations: 1.564 MB / 439.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004906/0.248, allocations: 23.88 kB / 439.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003902/0.2484, allocations: 178.2 kB / 439.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000529/0.2489, allocations: 293.3 kB / 440.1 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008168/0.2497, allocations: 411.3 kB / 440.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001393/0.2511, allocations: 1.395 MB / 441.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004669/0.2516, allocations: 301.7 kB / 442.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006586/0.2522, allocations: 0.5101 MB / 442.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006698/0.2529, allocations: 0.568 MB / 443.3 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00016/0.2531, allocations: 136 kB / 443.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002867/0.2534, allocations: 180 kB / 443.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002171/0.2536, allocations: 271.1 kB / 443.8 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005218/0.2541, allocations: 0.5872 MB / 444.4 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001527/0.2556, allocations: 1.554 MB / 446 MB, free: 8.773 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2556, allocations: 0 / 446 MB, free: 8.773 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2556, allocations: 0 / 446 MB, free: 8.773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.466e-05/0.2556, allocations: 0 / 446 MB, free: 8.773 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: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.002609/0.2583, allocations: 1.338 MB / 447.3 MB, free: 7.402 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.2583, allocations: 8.031 kB / 447.3 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001617/0.2585, allocations: 139.6 kB / 447.5 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003446/0.2588, allocations: 132.2 kB / 447.6 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008227/0.2596, allocations: 0.4978 MB / 448.1 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.463e-05/0.2597, allocations: 66.38 kB / 448.2 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.2598, allocations: 92.38 kB / 448.2 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/0.2614, allocations: 0.8547 MB / 449.1 MB, free: 5.574 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.2614, allocations: 0 / 449.1 MB, free: 5.574 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-05/0.2615, allocations: 36 kB / 449.1 MB, free: 5.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.064e-05/0.2615, allocations: 24 kB / 449.2 MB, free: 5.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00164/0.2631, allocations: 0.855 MB / 450 MB, free: 4.664 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005381/0.2685, allocations: 3.154 MB / 453.2 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.2697, allocations: 0.6219 MB / 453.8 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000696/0.2704, allocations: 399.2 kB / 454.2 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.712e-05/0.2704, allocations: 12.64 kB / 454.2 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.2705, allocations: 39.22 kB / 454.2 MB, free: 304 kB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.475e-06/0.2705, allocations: 0 / 454.2 MB, free: 304 kB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004472/0.2749, allocations: 2.198 MB / 456.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.275, allocations: 68 kB / 456.5 MB, free: 13.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007106/0.2757, allocations: 0.6058 MB / 457.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.701e-05/0.2758, allocations: 41.7 kB / 457.1 MB, free: 13.33 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003194/0.2761, allocations: 456.3 kB / 457.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001984/0.2763, allocations: 269.6 kB / 457.9 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002436/0.2765, allocations: 146.6 kB / 458 MB, free: 12.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.2767, allocations: 390.8 kB / 458.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006439/0.2774, allocations: 325.9 kB / 458.7 MB, free: 11.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007607/0.2781, allocations: 472.6 kB / 459.2 MB, free: 11.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001396/0.2795, allocations: 0.8008 MB / 460 MB, free: 10.4 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.2795, allocations: 4 kB / 460 MB, free: 10.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002153/0.2817, allocations: 1.119 MB / 461.1 MB, free: 9.262 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.2817, allocations: 4 kB / 461.1 MB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.2817, allocations: 4 kB / 461.1 MB, free: 9.254 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005728/0.2823, allocations: 187.8 kB / 461.3 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008511/0.2831, allocations: 199.7 kB / 461.5 MB, free: 8.875 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00376/0.2869, allocations: 2.784 MB / 464.2 MB, free: 5.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006442/0.2875, allocations: 32.05 kB / 464.3 MB, free: 5.949 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.04e-05/0.2876, allocations: 39.92 kB / 464.3 MB, free: 5.91 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.0003938/0.288, allocations: 225.7 kB / 464.5 MB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.2881, allocations: 87.42 kB / 464.6 MB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001729/0.2883, allocations: 103.2 kB / 464.7 MB, free: 5.484 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.2883, allocations: 8 kB / 464.7 MB, free: 5.477 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.339e-05/0.2883, allocations: 4 kB / 464.7 MB, free: 5.473 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.2883, allocations: 3.984 kB / 464.7 MB, free: 5.469 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.2894, allocations: 0.8643 MB / 465.6 MB, free: 4.562 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.2894, allocations: 0 / 465.6 MB, free: 4.562 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007056/0.2901, allocations: 147.8 kB / 465.8 MB, free: 4.418 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005139/0.2906, allocations: 180.7 kB / 465.9 MB, free: 4.238 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.023e-05/0.2907, allocations: 23.98 kB / 465.9 MB, free: 4.215 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00373/0.2944, allocations: 2.794 MB / 468.7 MB, free: 1.316 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2944, allocations: 0 / 468.7 MB, free: 1.316 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002585/0.297, allocations: 1.432 MB / 470.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/0.2972, allocations: 75.47 kB / 470.2 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.633e-05/0.2972, allocations: 16 kB / 470.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005968/0.2978, allocations: 47.95 kB / 470.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.298, allocations: 60.55 kB / 470.4 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.313e-05/0.298, allocations: 27.98 kB / 470.4 MB, free: 15.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005117/0.2985, allocations: 423.1 kB / 470.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2985, allocations: 0 / 470.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007815/0.2993, allocations: 243.9 kB / 471 MB, free: 14.99 MB / 382.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.003007/0.3023, allocations: 1.999 MB / 473 MB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002294/0.3046, allocations: 0.9947 MB / 474 MB, free: 11.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3046, allocations: 0 / 474 MB, free: 11.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001304/0.3059, allocations: 0.6113 MB / 474.7 MB, free: 11.33 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007173/0.3066, allocations: 155.3 kB / 474.8 MB, free: 11.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01171/0.3184, allocations: 7.463 MB / 482.3 MB, free: 3.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006405/0.319, allocations: 0.9814 MB / 483.3 MB, free: 2.488 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003848/0.3194, allocations: 93.45 kB / 483.3 MB, free: 2.395 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004407/0.3198, allocations: 323.3 kB / 483.7 MB, free: 2.078 MB / 382.1 MB Notification: Performance of SimCode: time 1.142e-06/0.3198, allocations: 0 / 483.7 MB, free: 2.078 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0562/0.376, allocations: 19.68 MB / 0.4915 GB, free: 14.65 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.26, allocations: 11.94 kB / 0.4915 GB, free: 14.64 MB / 414.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv --start-time 0 --stop-time 1e-08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.9988e-12 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_DifferenceAmplifier.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.61631652712822] 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'] 11.352519014850259 11.377004524 11.116810909 Calling exit ...