Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.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.001235/0.001235, allocations: 109.4 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.001392/0.001392, allocations: 219.7 kB / 23 MB, free: 5.609 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.369/1.369, allocations: 230.5 MB / 256.5 MB, free: 8.43 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.OpAmps.Subtracter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Subtracter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Subtracter",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.001859/0.001859, allocations: 63.89 kB / 376.2 MB, free: 4.035 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2578, allocations: 53.32 MB / 429.6 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.004599/0.2624, allocations: 3.41 MB / 433 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.2639, allocations: 0.8688 MB / 433.8 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001775/0.2641, allocations: 11.94 kB / 433.9 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001903/0.2643, allocations: 67.36 kB / 433.9 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002405/0.2645, allocations: 123 kB / 434 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003471/0.2648, allocations: 155.8 kB / 434.2 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000542/0.2654, allocations: 0.4941 MB / 434.7 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002621/0.2656, allocations: 121 kB / 434.8 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003007/0.2659, allocations: 195.3 kB / 435 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002556/0.2662, allocations: 199.1 kB / 435.2 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.987e-05/0.2663, allocations: 48 kB / 435.2 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.2664, allocations: 56 kB / 435.3 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.2665, allocations: 95.62 kB / 435.4 MB, free: 1.578 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002156/0.2667, allocations: 219 kB / 435.6 MB, free: 1.363 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006062/0.2673, allocations: 0.5724 MB / 436.2 MB, free: 0.793 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2673, allocations: 4 kB / 436.2 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2673, allocations: 0 / 436.2 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.2673, allocations: 0 / 436.2 MB, free: 0.7891 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001176/0.2685, allocations: 0.7092 MB / 436.9 MB, free: 32 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.2685, allocations: 12.03 kB / 436.9 MB, free: 20 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00011/0.2686, allocations: 82.7 kB / 437 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001806/0.2688, allocations: 44.7 kB / 437 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005268/0.2694, allocations: 332.7 kB / 437.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.2694, allocations: 29.38 kB / 437.4 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.046e-05/0.2694, allocations: 35.94 kB / 437.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007255/0.2702, allocations: 390.1 kB / 437.8 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.2702, allocations: 0 / 437.8 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.815e-05/0.2702, allocations: 23.92 kB / 437.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.2702, allocations: 8 kB / 437.8 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006767/0.2709, allocations: 299.9 kB / 438.1 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002308/0.2732, allocations: 1.436 MB / 439.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006472/0.2739, allocations: 226.7 kB / 439.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002127/0.2741, allocations: 84.81 kB / 439.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.2741, allocations: 4 kB / 439.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.2741, allocations: 38.56 kB / 439.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.352e-06/0.2741, allocations: 3.938 kB / 439.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.002265/0.2764, allocations: 0.7549 MB / 440.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.2764, allocations: 59.34 kB / 440.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003698/0.2768, allocations: 312.5 kB / 441 MB, free: 11.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/0.2768, allocations: 33.7 kB / 441.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.277, allocations: 232.2 kB / 441.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.352e-05/0.2771, allocations: 63.48 kB / 441.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.677e-05/0.2772, allocations: 45.7 kB / 441.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.2774, allocations: 342.8 kB / 441.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002126/0.2776, allocations: 75.97 kB / 441.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002855/0.2779, allocations: 165.3 kB / 442 MB, free: 10.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004715/0.2783, allocations: 253.2 kB / 442.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.2783, allocations: 0 / 442.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009958/0.2793, allocations: 425.7 kB / 442.6 MB, free: 9.949 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.2793, allocations: 8 kB / 442.6 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.2793, allocations: 4 kB / 442.6 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004462/0.2798, allocations: 113.7 kB / 442.7 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.28, allocations: 43.92 kB / 442.8 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004326/0.2843, allocations: 3.569 MB / 446.4 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002323/0.2845, allocations: 39.77 kB / 446.4 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.2845, allocations: 8 kB / 446.4 MB, free: 5.883 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001904/0.2847, allocations: 153.8 kB / 446.5 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.788e-05/0.2848, allocations: 35.75 kB / 446.6 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.816e-05/0.2848, allocations: 34.25 kB / 446.6 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2848, allocations: 0 / 446.6 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.2848, allocations: 96 / 446.6 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.2848, allocations: 7.969 kB / 446.6 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004211/0.2853, allocations: 365.3 kB / 447 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.2853, allocations: 0 / 447 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.683e-05/0.2853, allocations: 15.98 kB / 447 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003545/0.2857, allocations: 117.6 kB / 447.1 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.2857, allocations: 0 / 447.1 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003894/0.2896, allocations: 3.475 MB / 450.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.2896, allocations: 8.047 kB / 450.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009436/0.2906, allocations: 431.8 kB / 451 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.2907, allocations: 108.9 kB / 451.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.2907, allocations: 0 / 451.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.2909, allocations: 27.98 kB / 451.2 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.412e-05/0.291, allocations: 19.97 kB / 451.2 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.291, allocations: 4 kB / 451.2 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002637/0.2912, allocations: 223.1 kB / 451.4 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2912, allocations: 0 / 451.4 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005003/0.2917, allocations: 103.7 kB / 451.5 MB, free: 412 kB / 350.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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001288/0.293, allocations: 0.9675 MB / 452.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001209/0.2942, allocations: 0.505 MB / 453 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.2942, allocations: 0 / 453 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004963/0.2947, allocations: 337.8 kB / 453.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.2952, allocations: 59.34 kB / 453.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005085/0.3003, allocations: 3.263 MB / 456.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004373/0.3007, allocations: 0.7833 MB / 457.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001146/0.3008, allocations: 34.94 kB / 457.4 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/0.301, allocations: 99.41 kB / 457.5 MB, free: 10.1 MB / 366.1 MB Notification: Performance of SimCode: time 8.12e-07/0.301, allocations: 0 / 457.5 MB, free: 10.1 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03921/0.3402, allocations: 7.211 MB / 464.7 MB, free: 3.039 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.06, allocations: 3.859 kB / 464.7 MB, free: 3.035 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Subtracter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Subtracter.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.291563020000467] Failed to read output from testmodel.py, exit status != 0: ['time', 'vOut.v'] 12.162088519980898 12.187877484 11.915470722 Calling exit ...