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.001309/0.001309, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001385/0.001385, allocations: 212.4 kB / 24.54 MB, free: 4.016 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.504/1.504, allocations: 230.6 MB / 258.3 MB, free: 8.066 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.003078/0.003078, allocations: 68.75 kB / 378.6 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2537, allocations: 53.37 MB / 431.9 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.007082/0.2607, allocations: 6.113 MB / 438 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002828/0.2636, allocations: 1.576 MB / 439.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004326/0.264, allocations: 19.88 kB / 439.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003749/0.2644, allocations: 170.3 kB / 439.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005783/0.265, allocations: 301.2 kB / 440.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007725/0.2657, allocations: 407.4 kB / 440.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001436/0.2672, allocations: 1.395 MB / 441.9 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004584/0.2676, allocations: 301.7 kB / 442.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007051/0.2683, allocations: 0.5101 MB / 442.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007252/0.2691, allocations: 0.5719 MB / 443.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001855/0.2692, allocations: 136 kB / 443.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002992/0.2695, allocations: 184 kB / 443.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000217/0.2698, allocations: 271.2 kB / 443.9 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000574/0.2703, allocations: 0.5833 MB / 444.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00165/0.272, allocations: 1.549 MB / 446 MB, free: 8.641 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.272, allocations: 4 kB / 446 MB, free: 8.637 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.272, allocations: 0 / 446 MB, free: 8.637 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.336e-05/0.272, allocations: 0 / 446 MB, free: 8.637 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.002708/0.2747, allocations: 1.334 MB / 447.3 MB, free: 7.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.2748, allocations: 8.031 kB / 447.3 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001715/0.2749, allocations: 135.6 kB / 447.5 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003451/0.2753, allocations: 136.2 kB / 447.6 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008394/0.2761, allocations: 0.4939 MB / 448.1 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.619e-05/0.2762, allocations: 70.38 kB / 448.2 MB, free: 6.395 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.2763, allocations: 88.31 kB / 448.2 MB, free: 6.309 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/0.2779, allocations: 0.8547 MB / 449.1 MB, free: 5.445 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.278, allocations: 0 / 449.1 MB, free: 5.445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.725e-05/0.278, allocations: 36 kB / 449.1 MB, free: 5.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.535e-05/0.2781, allocations: 20 kB / 449.2 MB, free: 5.391 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0017/0.2798, allocations: 0.855 MB / 450 MB, free: 4.539 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005845/0.2856, allocations: 3.162 MB / 453.2 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.2868, allocations: 0.6218 MB / 453.8 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006976/0.2875, allocations: 400.5 kB / 454.2 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.117e-05/0.2876, allocations: 12.64 kB / 454.2 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.2876, allocations: 39.22 kB / 454.2 MB, free: 168 kB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.464e-06/0.2876, allocations: 0 / 454.2 MB, free: 168 kB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004915/0.2925, allocations: 2.213 MB / 456.4 MB, free: 13.92 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.2926, allocations: 60.06 kB / 456.5 MB, free: 13.85 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007722/0.2933, allocations: 0.6019 MB / 457.1 MB, free: 13.24 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.083e-05/0.2934, allocations: 45.7 kB / 457.2 MB, free: 13.19 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003215/0.2937, allocations: 452.2 kB / 457.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002123/0.2939, allocations: 269.7 kB / 457.9 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002512/0.2942, allocations: 150.6 kB / 458 MB, free: 12.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.2944, allocations: 386.7 kB / 458.4 MB, free: 11.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006713/0.2951, allocations: 321.9 kB / 458.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008392/0.2959, allocations: 476.5 kB / 459.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001482/0.2974, allocations: 0.8086 MB / 460 MB, free: 10.26 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.2974, allocations: 0 / 460 MB, free: 10.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002395/0.2998, allocations: 1.118 MB / 461.1 MB, free: 9.125 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.2998, allocations: 10.5 kB / 461.1 MB, free: 9.117 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.2998, allocations: 4 kB / 461.1 MB, free: 9.113 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005909/0.3004, allocations: 184.8 kB / 461.3 MB, free: 8.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008876/0.3013, allocations: 195.8 kB / 461.5 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004411/0.3057, allocations: 2.78 MB / 464.3 MB, free: 5.848 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007515/0.3065, allocations: 36.05 kB / 464.3 MB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.898e-05/0.3065, allocations: 35.98 kB / 464.3 MB, free: 5.777 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.0004362/0.307, allocations: 233.6 kB / 464.6 MB, free: 5.539 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.3071, allocations: 87.42 kB / 464.6 MB, free: 5.453 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001886/0.3073, allocations: 95.25 kB / 464.7 MB, free: 5.352 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.3073, allocations: 8 kB / 464.7 MB, free: 5.344 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/0.3073, allocations: 8 kB / 464.7 MB, free: 5.336 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.338e-05/0.3073, allocations: 3.984 kB / 464.7 MB, free: 5.332 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.3085, allocations: 0.8603 MB / 465.6 MB, free: 4.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.3085, allocations: 0 / 465.6 MB, free: 4.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007568/0.3092, allocations: 147.8 kB / 465.8 MB, free: 4.285 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005461/0.3098, allocations: 176.8 kB / 465.9 MB, free: 4.109 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-05/0.3098, allocations: 27.98 kB / 466 MB, free: 4.082 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003913/0.3138, allocations: 2.784 MB / 468.7 MB, free: 1.191 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.279e-06/0.3138, allocations: 4 kB / 468.7 MB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002859/0.3166, allocations: 1.431 MB / 470.2 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000194/0.3168, allocations: 79.41 kB / 470.3 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.3169, allocations: 12 kB / 470.3 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000613/0.3175, allocations: 59.95 kB / 470.3 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/0.3177, allocations: 52.55 kB / 470.4 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.932e-05/0.3177, allocations: 27.97 kB / 470.4 MB, free: 15.51 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000538/0.3183, allocations: 423.1 kB / 470.8 MB, free: 15.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3183, allocations: 4.188 kB / 470.8 MB, free: 15.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008243/0.3191, allocations: 247.9 kB / 471.1 MB, free: 14.86 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.003182/0.3223, allocations: 1.996 MB / 473.1 MB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002392/0.3247, allocations: 0.9863 MB / 474 MB, free: 11.83 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.3247, allocations: 4.75 kB / 474 MB, free: 11.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001382/0.3261, allocations: 0.6111 MB / 474.7 MB, free: 11.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007975/0.3269, allocations: 151.1 kB / 474.8 MB, free: 11.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01233/0.3392, allocations: 7.455 MB / 482.3 MB, free: 3.375 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006305/0.3398, allocations: 0.9814 MB / 483.2 MB, free: 2.363 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004204/0.3402, allocations: 89.47 kB / 483.3 MB, free: 2.273 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004579/0.3407, allocations: 327.3 kB / 483.6 MB, free: 1.953 MB / 382.1 MB Notification: Performance of SimCode: time 1.373e-06/0.3407, allocations: 0 / 483.6 MB, free: 1.953 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08439/0.4251, allocations: 19.69 MB / 0.4915 GB, free: 14.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.96, allocations: 7.938 kB / 0.4915 GB, free: 14.51 MB / 414.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_DifferenceAmplifier_fmu --startTime=0 --stopTime=1e-08 --stepSize=1.9988e-12 --timeout=50 --tolerance=1e-06 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: 14.381258704233915] 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'] 12.062129686120898 12.088882676 11.81156549 Calling exit ...