Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001289/0.001289, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001445/0.001445, allocations: 216.9 kB / 24.53 MB, free: 4.012 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.454/1.454, allocations: 230.5 MB / 258.2 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.233/0.233, allocations: 46.92 MB / 361.6 MB, free: 4.188 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0023/0.0023, allocations: 75.89 kB / 0.4969 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2972, allocations: 66.08 MB / 0.5615 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003171/0.3003, allocations: 1.74 MB / 0.5632 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002405/0.3006, allocations: 91.69 kB / 0.5633 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.214e-05/0.3006, allocations: 4 kB / 0.5633 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.806e-05/0.3007, allocations: 15.86 kB / 0.5633 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.752e-05/0.3008, allocations: 19.8 kB / 0.5633 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.249e-05/0.3008, allocations: 31.83 kB / 0.5633 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000143/0.301, allocations: 103.7 kB / 0.5634 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.3012, allocations: 45.78 kB / 0.5635 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.937e-05/0.3012, allocations: 39.86 kB / 0.5635 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.365e-05/0.3013, allocations: 59.77 kB / 0.5636 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.3013, allocations: 12 kB / 0.5636 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.869e-05/0.3014, allocations: 12 kB / 0.5636 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.969e-05/0.3014, allocations: 19.92 kB / 0.5636 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.407e-05/0.3015, allocations: 55.67 kB / 0.5637 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.3016, allocations: 115.6 kB / 0.5638 GB, free: 1.938 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.3016, allocations: 0 / 0.5638 GB, free: 1.938 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3016, allocations: 0 / 0.5638 GB, free: 1.938 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.3016, allocations: 0 / 0.5638 GB, free: 1.938 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.0006062/0.3022, allocations: 349.9 kB / 0.5641 GB, free: 1.562 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.3023, allocations: 8.031 kB / 0.5641 GB, free: 1.555 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.653e-05/0.3023, allocations: 8.125 kB / 0.5641 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.148e-05/0.3023, allocations: 46.73 kB / 0.5642 GB, free: 1.492 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.146e-05/0.3024, allocations: 8.891 kB / 0.5642 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.3025, allocations: 122.3 kB / 0.5643 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.3025, allocations: 8.375 kB / 0.5643 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.3025, allocations: 8.375 kB / 0.5643 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003365/0.3028, allocations: 125.9 kB / 0.5644 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.3029, allocations: 0 / 0.5644 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.3029, allocations: 11.98 kB / 0.5644 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3029, allocations: 0 / 0.5644 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004849/0.3034, allocations: 103.8 kB / 0.5645 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008191/0.3042, allocations: 450.4 kB / 0.565 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002683/0.3044, allocations: 78.53 kB / 0.565 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002427/0.3047, allocations: 56.94 kB / 0.5651 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.3047, allocations: 4 kB / 0.5651 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/0.3048, allocations: 42.5 kB / 0.5651 GB, free: 400 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.3048, allocations: 0 / 0.5651 GB, free: 400 kB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008769/0.3056, allocations: 190.3 kB / 0.5653 GB, free: 200 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.72e-05/0.3057, allocations: 51.41 kB / 0.5654 GB, free: 136 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.3058, allocations: 121.8 kB / 0.5655 GB, free: 4 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.679e-05/0.3059, allocations: 25.7 kB / 0.5655 GB, free: 15.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.918e-05/0.306, allocations: 116.2 kB / 0.5656 GB, free: 15.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.306, allocations: 15.8 kB / 0.5656 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.492e-05/0.3061, allocations: 17.72 kB / 0.5657 GB, free: 15.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.3062, allocations: 326.8 kB / 0.566 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000272/0.3065, allocations: 39.95 kB / 0.566 GB, free: 15.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.3067, allocations: 54.55 kB / 0.5661 GB, free: 15.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003323/0.307, allocations: 98.44 kB / 0.5662 GB, free: 15.28 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.307, allocations: 0 / 0.5662 GB, free: 15.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000445/0.3075, allocations: 146.4 kB / 0.5663 GB, free: 15.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.3075, allocations: 4 kB / 0.5663 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3075, allocations: 0 / 0.5663 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001585/0.3077, allocations: 28.78 kB / 0.5663 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.3078, allocations: 23.91 kB / 0.5663 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001262/0.3091, allocations: 1.299 MB / 0.5676 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.3092, allocations: 20.02 kB / 0.5676 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.3092, allocations: 8 kB / 0.5676 GB, free: 13.62 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.0001075/0.3093, allocations: 113.8 kB / 0.5678 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.43e-05/0.3093, allocations: 12.2 kB / 0.5678 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.89e-05/0.3093, allocations: 8.375 kB / 0.5678 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.3093, allocations: 4 kB / 0.5678 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.3093, allocations: 4 kB / 0.5678 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.3093, allocations: 3.984 kB / 0.5678 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008359/0.3102, allocations: 403.1 kB / 0.5682 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3102, allocations: 0 / 0.5682 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.394e-05/0.3103, allocations: 11.98 kB / 0.5682 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-05/0.3104, allocations: 32.81 kB / 0.5682 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.3104, allocations: 0 / 0.5682 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001205/0.3116, allocations: 1.299 MB / 0.5695 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.3116, allocations: 3.938 kB / 0.5695 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005087/0.3121, allocations: 237.1 kB / 0.5697 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.733e-05/0.3121, allocations: 16.02 kB / 0.5697 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.3121, allocations: 0 / 0.5697 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.3122, allocations: 11.98 kB / 0.5697 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/0.3123, allocations: 15.91 kB / 0.5698 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-06/0.3123, allocations: 7.938 kB / 0.5698 GB, free: 11.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.472e-05/0.3124, allocations: 87.28 kB / 0.5698 GB, free: 11.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3124, allocations: 0 / 0.5698 GB, free: 11.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002884/0.3127, allocations: 31.89 kB / 0.5699 GB, free: 11.13 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.0008921/0.3135, allocations: 0.7689 MB / 0.5706 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005351/0.3141, allocations: 202.5 kB / 0.5708 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.3141, allocations: 0 / 0.5708 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003702/0.3145, allocations: 166.8 kB / 0.571 GB, free: 9.945 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.3148, allocations: 10.34 kB / 0.571 GB, free: 9.938 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002584/0.3174, allocations: 1.608 MB / 0.5726 GB, free: 8.227 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.3177, allocations: 0.6963 MB / 0.5732 GB, free: 7.504 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.501e-05/0.3177, allocations: 3.75 kB / 0.5732 GB, free: 7.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.869e-05/0.3178, allocations: 27.7 kB / 0.5733 GB, free: 7.473 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3178, allocations: 0 / 0.5733 GB, free: 7.473 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0352/0.353, allocations: 2.504 MB / 0.5757 GB, free: 5.086 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.09, allocations: 5.375 kB / 0.5757 GB, free: 5.082 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.930018689017743] Failed to read output from testmodel.py, exit status != 0: ['time', 'reluctance.V_m', 'reluctance.Phi', 'permeance.V_m', 'permeance.Phi'] 12.249759630009066 12.269631226 11.964597175 Calling exit ...