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.001264/0.001264, allocations: 109.2 kB / 19.8 MB, free: 2.516 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.001766/0.001766, allocations: 218.2 kB / 23 MB, free: 5.617 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.377/1.377, allocations: 230.5 MB / 256.5 MB, free: 8.234 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.001921/0.001921, allocations: 67.89 kB / 376.2 MB, free: 4.066 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2419, allocations: 53.31 MB / 429.5 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.007671/0.2495, allocations: 6.128 MB / 435.7 MB, free: 1.234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002897/0.2524, allocations: 1.568 MB / 437.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003967/0.2528, allocations: 15.94 kB / 437.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003637/0.2532, allocations: 178.3 kB / 437.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000531/0.2537, allocations: 297.2 kB / 437.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007438/0.2545, allocations: 407.4 kB / 438.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001374/0.2558, allocations: 1.395 MB / 439.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004717/0.2563, allocations: 301.3 kB / 439.8 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006539/0.257, allocations: 0.4945 MB / 440.3 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006649/0.2576, allocations: 0.5719 MB / 440.9 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000171/0.2578, allocations: 136 kB / 441 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003003/0.2581, allocations: 184 kB / 441.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002256/0.2583, allocations: 275.1 kB / 441.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005159/0.2588, allocations: 0.5834 MB / 442 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001537/0.2604, allocations: 1.545 MB / 443.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2604, allocations: 0 / 443.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2604, allocations: 0 / 443.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.043e-05/0.2604, allocations: 0 / 443.6 MB, free: 9.273 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.002645/0.2631, allocations: 1.409 MB / 445 MB, free: 7.812 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.2631, allocations: 11.97 kB / 445 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001742/0.2633, allocations: 143.6 kB / 445.1 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00035/0.2636, allocations: 128.2 kB / 445.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008266/0.2644, allocations: 0.566 MB / 445.8 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.249e-05/0.2645, allocations: 62.38 kB / 445.9 MB, free: 6.859 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.2647, allocations: 88.38 kB / 446 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/0.2663, allocations: 0.8586 MB / 446.8 MB, free: 5.906 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.2663, allocations: 0 / 446.8 MB, free: 5.906 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.19e-05/0.2664, allocations: 36 kB / 446.9 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.991e-05/0.2664, allocations: 20 kB / 446.9 MB, free: 5.852 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00173/0.2682, allocations: 0.8628 MB / 447.8 MB, free: 4.992 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005709/0.2739, allocations: 3.228 MB / 451 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/0.2751, allocations: 0.6131 MB / 451.6 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007304/0.2758, allocations: 395.1 kB / 452 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.041e-05/0.2759, allocations: 16.55 kB / 452 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.2759, allocations: 43.06 kB / 452 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.635e-06/0.2759, allocations: 0 / 452 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004848/0.2807, allocations: 2.265 MB / 454.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.2808, allocations: 60.06 kB / 454.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007422/0.2815, allocations: 0.6096 MB / 455 MB, free: 13.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.539e-05/0.2816, allocations: 45.62 kB / 455 MB, free: 13.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003291/0.2819, allocations: 452.3 kB / 455.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002209/0.2821, allocations: 269.7 kB / 455.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002564/0.2824, allocations: 146.6 kB / 455.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.2826, allocations: 390.7 kB / 456.2 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006611/0.2833, allocations: 321.9 kB / 456.6 MB, free: 11.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007952/0.2841, allocations: 476.6 kB / 457 MB, free: 11.42 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001454/0.2855, allocations: 0.8047 MB / 457.8 MB, free: 10.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.2855, allocations: 4 kB / 457.8 MB, free: 10.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002217/0.2877, allocations: 1.118 MB / 459 MB, free: 9.434 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.2878, allocations: 4 kB / 459 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.2878, allocations: 7.984 kB / 459 MB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005924/0.2884, allocations: 187.8 kB / 459.2 MB, free: 9.238 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008821/0.2892, allocations: 199.7 kB / 459.3 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004029/0.2933, allocations: 2.882 MB / 462.2 MB, free: 6.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006622/0.2939, allocations: 36.05 kB / 462.3 MB, free: 5.984 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.987e-05/0.294, allocations: 36.11 kB / 462.3 MB, free: 5.949 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.0003743/0.2944, allocations: 221.7 kB / 462.5 MB, free: 5.723 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.2945, allocations: 91.42 kB / 462.6 MB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001915/0.2947, allocations: 91.27 kB / 462.7 MB, free: 5.539 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.2947, allocations: 15.98 kB / 462.7 MB, free: 5.523 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/0.2947, allocations: 4 kB / 462.7 MB, free: 5.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.2947, allocations: 0 / 462.7 MB, free: 5.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.2959, allocations: 0.8924 MB / 463.6 MB, free: 4.578 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.2959, allocations: 0 / 463.6 MB, free: 4.578 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000722/0.2966, allocations: 147.8 kB / 463.7 MB, free: 4.434 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005162/0.2971, allocations: 184 kB / 463.9 MB, free: 4.254 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.596e-05/0.2972, allocations: 15.98 kB / 463.9 MB, free: 4.238 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003884/0.3011, allocations: 2.901 MB / 466.8 MB, free: 1.199 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3011, allocations: 0 / 466.8 MB, free: 1.199 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00283/0.3039, allocations: 1.428 MB / 468.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001873/0.3041, allocations: 148.6 kB / 468.4 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.159e-05/0.3042, allocations: 16 kB / 468.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000608/0.3048, allocations: 51.95 kB / 468.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/0.3049, allocations: 52.58 kB / 468.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.943e-05/0.305, allocations: 23.98 kB / 468.6 MB, free: 15.44 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005549/0.3055, allocations: 435 kB / 469 MB, free: 15.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3055, allocations: 96 / 469 MB, free: 15.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008682/0.3064, allocations: 247.9 kB / 469.2 MB, free: 14.78 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.003247/0.3096, allocations: 2.007 MB / 471.2 MB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002377/0.312, allocations: 0.9831 MB / 472.2 MB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.312, allocations: 0 / 472.2 MB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00139/0.3134, allocations: 0.6229 MB / 472.8 MB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008101/0.3142, allocations: 139.4 kB / 473 MB, free: 10.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0122/0.3264, allocations: 7.463 MB / 480.4 MB, free: 3.297 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006318/0.3271, allocations: 0.9814 MB / 481.4 MB, free: 2.289 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004133/0.3275, allocations: 93.47 kB / 481.5 MB, free: 2.195 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004528/0.3279, allocations: 323.3 kB / 481.8 MB, free: 1.879 MB / 382.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3279, allocations: 3.938 kB / 481.8 MB, free: 1.875 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05286/0.3808, allocations: 19.19 MB / 0.4893 GB, free: 14.92 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.18, allocations: 6.922 kB / 0.4893 GB, free: 14.92 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 & /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 --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: 13.430876811995404] 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.269422177982051 11.295510622 11.030174158 Calling exit ...