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.00149/0.00149, allocations: 118.8 kB / 18.5 MB, free: 4.559 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.001357/0.001357, allocations: 210.5 kB / 21.46 MB, free: 1.605 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.442/1.442, allocations: 230.4 MB / 254.7 MB, free: 15.04 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.001815/0.001815, allocations: 71.89 kB / 373.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09588/0.09769, allocations: 53.31 MB / 426.9 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004135/0.1018, allocations: 3.043 MB / 429.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.1031, allocations: 0.7634 MB / 430.7 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.1032, allocations: 4 kB / 430.7 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001582/0.1034, allocations: 55.44 kB / 430.8 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001786/0.1035, allocations: 107 kB / 430.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.1038, allocations: 95.88 kB / 431 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004216/0.1042, allocations: 418.1 kB / 431.4 MB, free: 368 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.1044, allocations: 71.12 kB / 431.4 MB, free: 292 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002367/0.1046, allocations: 159.4 kB / 431.6 MB, free: 132 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1949/0.2996, allocations: 159.2 kB / 431.7 MB, free: 7.805 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001694/0.2997, allocations: 32.06 kB / 431.8 MB, free: 7.805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001972/0.2999, allocations: 41.06 kB / 431.8 MB, free: 7.805 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.576e-05/0.3, allocations: 71.7 kB / 431.9 MB, free: 7.805 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002595/0.3003, allocations: 178.3 kB / 432.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007315/0.301, allocations: 396.8 kB / 432.4 MB, free: 7.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.301, allocations: 3.938 kB / 432.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.301, allocations: 1 kB / 432.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.301, allocations: 1.406 kB / 432.5 MB, free: 7.746 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001078/0.3021, allocations: 0.6415 MB / 433.1 MB, free: 7.281 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.3022, allocations: 11.66 kB / 433.1 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.216e-05/0.3022, allocations: 62.61 kB / 433.2 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002001/0.3024, allocations: 47.14 kB / 433.2 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004087/0.3028, allocations: 286.6 kB / 433.5 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.3029, allocations: 23.34 kB / 433.5 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.949e-05/0.3029, allocations: 24.97 kB / 433.5 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000501/0.3034, allocations: 260.5 kB / 433.8 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.3034, allocations: 1.156 kB / 433.8 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.634e-05/0.3034, allocations: 8.719 kB / 433.8 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.3035, allocations: 7.844 kB / 433.8 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004036/0.3039, allocations: 216.6 kB / 434 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/0.3053, allocations: 0.9796 MB / 435 MB, free: 6.531 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004905/0.3058, allocations: 280.8 kB / 435.3 MB, free: 6.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001941/0.306, allocations: 96.42 kB / 435.4 MB, free: 6.402 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.306, allocations: 2.625 kB / 435.4 MB, free: 6.402 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.3061, allocations: 35.23 kB / 435.4 MB, free: 6.363 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.653e-06/0.3061, allocations: 0 / 435.4 MB, free: 6.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001142/0.3072, allocations: 0.5556 MB / 436 MB, free: 6.098 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.311e-05/0.3072, allocations: 55.72 kB / 436 MB, free: 6.035 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.3075, allocations: 267.2 kB / 436.3 MB, free: 5.922 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.3075, allocations: 30.7 kB / 436.3 MB, free: 5.891 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.78e-05/0.3076, allocations: 181.7 kB / 436.5 MB, free: 5.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.323e-05/0.3076, allocations: 77.58 kB / 436.6 MB, free: 5.723 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.984e-05/0.3077, allocations: 45.34 kB / 436.6 MB, free: 5.699 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.425e-05/0.3077, allocations: 334.2 kB / 436.9 MB, free: 5.387 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.3079, allocations: 76.31 kB / 437 MB, free: 5.387 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00019/0.3081, allocations: 109.2 kB / 437.1 MB, free: 5.359 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003514/0.3085, allocations: 182.4 kB / 437.3 MB, free: 5.336 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3085, allocations: 1.906 kB / 437.3 MB, free: 5.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006098/0.3091, allocations: 327.1 kB / 437.6 MB, free: 5.258 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.3091, allocations: 9.234 kB / 437.6 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.3091, allocations: 1.156 kB / 437.6 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002845/0.3094, allocations: 74.11 kB / 437.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.3096, allocations: 44.33 kB / 437.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00171/0.3113, allocations: 3.054 MB / 440.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/0.3115, allocations: 24.45 kB / 440.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.3115, allocations: 6.109 kB / 440.8 MB, free: 2.504 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.0001138/0.3116, allocations: 139.2 kB / 441 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.129e-05/0.3117, allocations: 35.34 kB / 441 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.356e-05/0.3117, allocations: 30.72 kB / 441 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3117, allocations: 2.281 kB / 441 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.3117, allocations: 1.156 kB / 441 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.3117, allocations: 2.453 kB / 441 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009441/0.3127, allocations: 0.6849 MB / 441.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.3127, allocations: 0.5156 kB / 441.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.3128, allocations: 28.09 kB / 441.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001765/0.313, allocations: 81.58 kB / 441.8 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.313, allocations: 1.828 kB / 441.8 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002008/0.315, allocations: 3.037 MB / 444.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.315, allocations: 0.7969 kB / 444.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007064/0.3157, allocations: 390.2 kB / 445.2 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.3158, allocations: 102.8 kB / 445.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.453e-05/0.3158, allocations: 6.609 kB / 445.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002532/0.3161, allocations: 31.03 kB / 445.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.538e-05/0.3162, allocations: 19.77 kB / 445.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.3162, allocations: 9.25 kB / 445.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002626/0.3165, allocations: 187.7 kB / 445.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3165, allocations: 0.8438 kB / 445.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004437/0.3169, allocations: 95.11 kB / 445.7 MB, free: 14.43 MB / 366.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.001115/0.318, allocations: 0.9198 MB / 446.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009367/0.3189, allocations: 437.8 kB / 447 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.319, allocations: 1.188 kB / 447 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005014/0.3195, allocations: 337.8 kB / 447.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.3199, allocations: 55.19 kB / 447.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004295/0.3242, allocations: 2.713 MB / 450.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005278/0.3247, allocations: 0.7652 MB / 450.9 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001487/0.3249, allocations: 24.42 kB / 450.9 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.325, allocations: 91.39 kB / 451 MB, free: 10.52 MB / 366.1 MB Notification: Performance of SimCode: time 1.213e-06/0.325, allocations: 0 / 451 MB, free: 10.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03798/0.363, allocations: 6.525 MB / 457.5 MB, free: 9.523 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.823/10.19, allocations: 9.875 kB / 457.5 MB, free: 9.516 MB / 366.1 MB " [Timeout remaining time 650] (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.53441332699731] Failed to read output from testmodel.py, exit status != 0: ['time', 'VariableResistor.i', 'R2.i'] 10.271987659856677 10.296738127 9.991279491 Calling exit ...