Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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.001585/0.001585, allocations: 105.1 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.001546/0.001546, allocations: 213.9 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.408/1.408, allocations: 230.6 MB / 258.3 MB, free: 8.062 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.ShowVariableResistor,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ShowVariableResistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowVariableResistor,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ShowVariableResistor",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.002181/0.002181, allocations: 64.77 kB / 378.6 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2522, allocations: 53.37 MB / 431.9 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004598/0.2568, allocations: 3.055 MB / 435 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.2582, allocations: 0.7595 MB / 435.7 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001428/0.2583, allocations: 7.938 kB / 435.7 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001866/0.2585, allocations: 55.44 kB / 435.8 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001987/0.2587, allocations: 103.1 kB / 435.9 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.259, allocations: 103.8 kB / 436 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004727/0.2595, allocations: 418.1 kB / 436.4 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001958/0.2597, allocations: 75.58 kB / 436.5 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003338/0.26, allocations: 163.5 kB / 436.6 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000218/0.2602, allocations: 163.3 kB / 436.8 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.095e-05/0.2603, allocations: 32 kB / 436.8 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.781e-05/0.2604, allocations: 36 kB / 436.9 MB, free: 1.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.52e-05/0.2605, allocations: 79.7 kB / 436.9 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001697/0.2606, allocations: 179.1 kB / 437.1 MB, free: 1.676 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000454/0.2611, allocations: 391.2 kB / 437.5 MB, free: 1.297 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.2611, allocations: 3.938 kB / 437.5 MB, free: 1.293 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2611, allocations: 0 / 437.5 MB, free: 1.293 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.2611, allocations: 3.938 kB / 437.5 MB, free: 1.289 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.000981/0.2621, allocations: 0.5676 MB / 438.1 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.2621, allocations: 8.031 kB / 438.1 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.9e-05/0.2622, allocations: 70.72 kB / 438.2 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001813/0.2624, allocations: 52.69 kB / 438.2 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003862/0.2628, allocations: 225.9 kB / 438.4 MB, free: 316 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.2628, allocations: 17.03 kB / 438.4 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.707e-05/0.2628, allocations: 28.38 kB / 438.5 MB, free: 268 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005014/0.2633, allocations: 258.2 kB / 438.7 MB, free: 8 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.2633, allocations: 0 / 438.7 MB, free: 8 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.792e-05/0.2634, allocations: 20.08 kB / 438.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.2634, allocations: 8 kB / 438.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004795/0.2639, allocations: 214.5 kB / 439 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001608/0.2655, allocations: 0.9297 MB / 439.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005121/0.266, allocations: 210.6 kB / 440.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000209/0.2662, allocations: 96.44 kB / 440.2 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.2662, allocations: 4 kB / 440.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.2663, allocations: 38.56 kB / 440.2 MB, free: 14.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.272e-06/0.2663, allocations: 0 / 440.2 MB, free: 14.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001184/0.2674, allocations: 417.3 kB / 440.6 MB, free: 14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.2675, allocations: 51.41 kB / 440.7 MB, free: 13.94 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002828/0.2678, allocations: 265.9 kB / 440.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/0.2678, allocations: 29.7 kB / 441 MB, free: 13.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.2679, allocations: 180.2 kB / 441.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.801e-05/0.268, allocations: 79.31 kB / 441.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.853e-05/0.2681, allocations: 45.91 kB / 441.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.2682, allocations: 334.8 kB / 441.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.2684, allocations: 80.42 kB / 441.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/0.2686, allocations: 103.4 kB / 441.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004022/0.269, allocations: 198.4 kB / 442 MB, free: 12.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.269, allocations: 4 kB / 442 MB, free: 12.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006642/0.2697, allocations: 318.9 kB / 442.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.2697, allocations: 4 kB / 442.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2697, allocations: 0 / 442.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002854/0.27, allocations: 73.61 kB / 442.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/0.2702, allocations: 47.91 kB / 442.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002667/0.2729, allocations: 2.845 MB / 445.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/0.2731, allocations: 23.83 kB / 445.3 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.2731, allocations: 11.92 kB / 445.3 MB, free: 9.031 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (20): * Single equations (assignments): 18 * 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): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001841/0.2733, allocations: 141.8 kB / 445.4 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.902e-05/0.2733, allocations: 31.81 kB / 445.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.729e-05/0.2734, allocations: 26.27 kB / 445.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.2734, allocations: 12.05 kB / 445.5 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.2734, allocations: 0 / 445.5 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2734, allocations: 0 / 445.5 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.2745, allocations: 0.6591 MB / 446.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.2745, allocations: 4 kB / 446.2 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.2746, allocations: 19.98 kB / 446.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002133/0.2748, allocations: 81.8 kB / 446.3 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.2749, allocations: 0 / 446.3 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002552/0.2774, allocations: 2.834 MB / 449.1 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.2774, allocations: 0 / 449.1 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006827/0.2781, allocations: 388.3 kB / 449.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.092e-05/0.2781, allocations: 23.8 kB / 449.5 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.094e-05/0.2782, allocations: 8 kB / 449.5 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000254/0.2784, allocations: 35.97 kB / 449.5 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.327e-05/0.2785, allocations: 15.97 kB / 449.6 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.2785, allocations: 4 kB / 449.6 MB, free: 4.434 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001968/0.2787, allocations: 189.2 kB / 449.7 MB, free: 4.246 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2787, allocations: 0 / 449.7 MB, free: 4.246 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004018/0.2791, allocations: 103.8 kB / 449.8 MB, free: 4.145 MB / 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 (13): * Single equations (assignments): 11 * 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): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009668/0.2801, allocations: 0.9156 MB / 450.8 MB, free: 3.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007961/0.2809, allocations: 445.2 kB / 451.2 MB, free: 2.738 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2809, allocations: 128 / 451.2 MB, free: 2.738 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004423/0.2813, allocations: 333.2 kB / 451.5 MB, free: 2.387 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003775/0.2817, allocations: 48.53 kB / 451.6 MB, free: 2.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003787/0.2855, allocations: 2.726 MB / 454.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004159/0.2859, allocations: 0.7599 MB / 455.1 MB, free: 14.72 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001096/0.286, allocations: 22.3 kB / 455.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.2861, allocations: 91.41 kB / 455.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2861, allocations: 4 kB / 455.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03915/0.3253, allocations: 6.619 MB / 461.8 MB, free: 8.145 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.15/10.47, allocations: 3.938 kB / 461.8 MB, free: 8.141 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ShowVariableResistor_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ShowVariableResistor.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.84112972393632] Failed to read output from testmodel.py, exit status != 0: ['time', 'VariableResistor.i', 'R2.i'] 10.560642659198493 10.588635163 10.322504775 Calling exit ...