Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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.001876/0.001876, 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.002352/0.002352, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.519/1.519, allocations: 230.5 MB / 258.2 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2323/0.2323, allocations: 46.93 MB / 361.6 MB, free: 4.203 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica 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.002392/0.002392, allocations: 83.86 kB / 0.497 GB, free: 7.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3066, allocations: 66.09 MB / 0.5615 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003223/0.3098, allocations: 1.733 MB / 0.5632 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001842/0.31, allocations: 87.66 kB / 0.5633 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.51e-05/0.3101, allocations: 0 / 0.5633 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.526e-05/0.3101, allocations: 15.86 kB / 0.5633 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.887e-05/0.3102, allocations: 19.78 kB / 0.5633 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.99e-05/0.3103, allocations: 27.95 kB / 0.5633 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.3104, allocations: 119.5 kB / 0.5634 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.3106, allocations: 37.94 kB / 0.5635 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.114e-05/0.3107, allocations: 47.84 kB / 0.5635 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.434e-05/0.3108, allocations: 55.77 kB / 0.5636 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.3108, allocations: 8 kB / 0.5636 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.887e-05/0.3108, allocations: 12 kB / 0.5636 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.674e-05/0.3108, allocations: 27.91 kB / 0.5636 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.604e-05/0.3109, allocations: 43.8 kB / 0.5637 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.3111, allocations: 119.5 kB / 0.5638 GB, free: 1.973 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3111, allocations: 0 / 0.5638 GB, free: 1.973 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3111, allocations: 0 / 0.5638 GB, free: 1.973 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.3111, allocations: 4 kB / 0.5638 GB, free: 1.969 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006976/0.3118, allocations: 345.9 kB / 0.5641 GB, free: 1.598 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.3118, allocations: 8.031 kB / 0.5641 GB, free: 1.59 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.799e-05/0.3119, allocations: 50.67 kB / 0.5642 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.504e-05/0.3119, allocations: 8.891 kB / 0.5642 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.312, allocations: 118.4 kB / 0.5643 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.312, allocations: 12.31 kB / 0.5643 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.312, allocations: 12.38 kB / 0.5643 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003464/0.3124, allocations: 126.1 kB / 0.5644 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.3124, allocations: 3.938 kB / 0.5644 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/0.3124, allocations: 8 kB / 0.5644 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.3124, allocations: 0 / 0.5644 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003767/0.3128, allocations: 111.8 kB / 0.5646 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007626/0.3136, allocations: 438.5 kB / 0.565 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000246/0.3138, allocations: 82.47 kB / 0.565 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002242/0.314, allocations: 56.94 kB / 0.5651 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.3141, allocations: 4 kB / 0.5651 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.3141, allocations: 42.48 kB / 0.5651 GB, free: 436 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.3141, allocations: 0 / 0.5651 GB, free: 436 kB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007604/0.3149, allocations: 190.3 kB / 0.5653 GB, free: 236 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.3149, allocations: 51.41 kB / 0.5654 GB, free: 172 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.315, allocations: 125.8 kB / 0.5655 GB, free: 36 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.315, allocations: 25.7 kB / 0.5655 GB, free: 4 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.576e-05/0.3151, allocations: 116.2 kB / 0.5656 GB, free: 15.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.3152, allocations: 15.8 kB / 0.5656 GB, free: 15.87 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-05/0.3152, allocations: 21.7 kB / 0.5657 GB, free: 15.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.3154, allocations: 318.8 kB / 0.566 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.3155, allocations: 43.89 kB / 0.566 GB, free: 15.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.3157, allocations: 58.53 kB / 0.5661 GB, free: 15.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002989/0.316, allocations: 94.39 kB / 0.5662 GB, free: 15.31 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.316, allocations: 4 kB / 0.5662 GB, free: 15.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004076/0.3164, allocations: 146.3 kB / 0.5663 GB, free: 15.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.3164, allocations: 8 kB / 0.5663 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.3164, allocations: 160 / 0.5663 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001735/0.3166, allocations: 24.84 kB / 0.5663 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.3167, allocations: 20.05 kB / 0.5664 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001214/0.318, allocations: 1.303 MB / 0.5676 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.3181, allocations: 19.95 kB / 0.5676 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.3181, allocations: 4 kB / 0.5677 GB, free: 13.65 MB / 414.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 (5): * Single equations (assignments): 4 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001088/0.3182, allocations: 122.6 kB / 0.5678 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.3182, allocations: 11.89 kB / 0.5678 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.189e-05/0.3182, allocations: 12.36 kB / 0.5678 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3182, allocations: 0 / 0.5678 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.3182, allocations: 4.375 kB / 0.5678 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.3182, allocations: 4 kB / 0.5678 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006927/0.3189, allocations: 391.2 kB / 0.5682 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.3189, allocations: 4 kB / 0.5682 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.916e-05/0.319, allocations: 11.98 kB / 0.5682 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.412e-05/0.3191, allocations: 28.88 kB / 0.5682 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.3191, allocations: 0 / 0.5682 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001107/0.3202, allocations: 1.299 MB / 0.5695 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3202, allocations: 4 kB / 0.5695 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004634/0.3207, allocations: 245.1 kB / 0.5697 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.834e-05/0.3207, allocations: 11.95 kB / 0.5697 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.085e-05/0.3207, allocations: 0 / 0.5697 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.3209, allocations: 15.97 kB / 0.5697 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.882e-05/0.3209, allocations: 7.984 kB / 0.5698 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.3209, allocations: 4 kB / 0.5698 GB, free: 11.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.088e-05/0.321, allocations: 95.2 kB / 0.5698 GB, free: 11.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.321, allocations: 0 / 0.5698 GB, free: 11.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002763/0.3213, allocations: 35.89 kB / 0.5699 GB, free: 11.16 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 3 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008726/0.3221, allocations: 0.7611 MB / 0.5706 GB, free: 10.37 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000529/0.3227, allocations: 202.6 kB / 0.5708 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.3227, allocations: 0 / 0.5708 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002696/0.3229, allocations: 162.8 kB / 0.571 GB, free: 9.984 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.3233, allocations: 23.8 kB / 0.571 GB, free: 9.961 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/0.3256, allocations: 1.601 MB / 0.5726 GB, free: 8.262 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.326, allocations: 0.6962 MB / 0.5732 GB, free: 7.539 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.607e-05/0.326, allocations: 11.73 kB / 0.5733 GB, free: 7.527 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.415e-05/0.3261, allocations: 19.44 kB / 0.5733 GB, free: 7.508 MB / 414.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3261, allocations: 7.938 kB / 0.5733 GB, free: 7.5 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02916/0.3552, allocations: 2.401 MB / 0.5756 GB, free: 5.184 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.93/10.29, allocations: 13.19 kB / 0.5756 GB, free: 5.18 MB / 414.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_VariableComponents.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.158305193297565] Failed to read output from testmodel.py, exit status != 0: ['time', 'reluctance.V_m', 'reluctance.Phi', 'permeance.V_m', 'permeance.Phi'] 10.372506708372384 10.398460309 10.082457218 Calling exit ...