Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.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.001405/0.001405, allocations: 105.7 kB / 19.74 MB, free: 2.453 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.001519/0.001519, allocations: 214.7 kB / 22.92 MB, free: 5.195 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.297/1.297, allocations: 230.2 MB / 256.2 MB, free: 8.574 MB / 206.1 MB " [Timeout remaining time 179] 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.1985/0.1985, allocations: 46.89 MB / 359.3 MB, free: 4.945 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.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_QuasiStatic_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.002114/0.002114, allocations: 83.86 kB / 0.494 GB, free: 9.102 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2683, allocations: 65.98 MB / 0.5584 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.003579/0.2718, allocations: 2.507 MB / 0.5608 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.2734, allocations: 1.121 MB / 0.5619 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.881e-05/0.2734, allocations: 4 kB / 0.5619 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001135/0.2746, allocations: 0.5016 MB / 0.5624 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002169/0.2748, allocations: 107.2 kB / 0.5625 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000826/0.2756, allocations: 490.1 kB / 0.563 GB, free: 488 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002833/0.2759, allocations: 230.9 kB / 0.5632 GB, free: 256 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003756/0.2763, allocations: 208.1 kB / 0.5634 GB, free: 48 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001805/0.2765, allocations: 99.64 kB / 0.5635 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.2766, allocations: 123.5 kB / 0.5636 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.214e-05/0.2767, allocations: 20 kB / 0.5636 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002959/0.2769, allocations: 159.8 kB / 0.5638 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.314e-05/0.277, allocations: 47.86 kB / 0.5638 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.2771, allocations: 115.4 kB / 0.564 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004825/0.2776, allocations: 406.5 kB / 0.5643 GB, free: 15.09 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2776, allocations: 4 kB / 0.5643 GB, free: 15.09 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2776, allocations: 0 / 0.5643 GB, free: 15.09 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.2776, allocations: 0 / 0.5643 GB, free: 15.09 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001243/0.2788, allocations: 0.6236 MB / 0.565 GB, free: 14.42 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.2789, allocations: 12.03 kB / 0.565 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.141e-05/0.2789, allocations: 58.73 kB / 0.565 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003049/0.2793, allocations: 52.75 kB / 0.5651 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.2794, allocations: 196 kB / 0.5653 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.2794, allocations: 20.94 kB / 0.5653 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.337e-05/0.2795, allocations: 24.38 kB / 0.5653 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005427/0.28, allocations: 287.5 kB / 0.5656 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.28, allocations: 0 / 0.5656 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/0.2801, allocations: 12 kB / 0.5656 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.2801, allocations: 8 kB / 0.5656 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005437/0.2806, allocations: 233.5 kB / 0.5658 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/0.282, allocations: 1.005 MB / 0.5668 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005144/0.2826, allocations: 357.5 kB / 0.5671 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003232/0.2829, allocations: 129.7 kB / 0.5673 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001674/0.283, allocations: 170.2 kB / 0.5674 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.2831, allocations: 34.5 kB / 0.5675 GB, free: 11.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=19): time 1.232e-06/0.2831, allocations: 0 / 0.5675 GB, free: 11.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001177/0.2843, allocations: 0.4936 MB / 0.5679 GB, free: 11.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.2843, allocations: 81.11 kB / 0.568 GB, free: 10.97 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.2844, allocations: 140.3 kB / 0.5682 GB, free: 10.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.2845, allocations: 33.83 kB / 0.5682 GB, free: 10.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.327e-05/0.2845, allocations: 140.4 kB / 0.5683 GB, free: 10.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.711e-05/0.2846, allocations: 79.31 kB / 0.5684 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.534e-05/0.2847, allocations: 37.7 kB / 0.5684 GB, free: 10.53 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.2848, allocations: 326.8 kB / 0.5687 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.285, allocations: 75.88 kB / 0.5688 GB, free: 10.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/0.2853, allocations: 119.3 kB / 0.5689 GB, free: 9.988 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000449/0.2857, allocations: 205.8 kB / 0.5691 GB, free: 9.766 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2857, allocations: 0 / 0.5691 GB, free: 9.766 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006147/0.2863, allocations: 286 kB / 0.5694 GB, free: 9.477 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.2863, allocations: 4 kB / 0.5694 GB, free: 9.473 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.2864, allocations: 4 kB / 0.5694 GB, free: 9.469 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001935/0.2865, allocations: 53.62 kB / 0.5695 GB, free: 9.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001847/0.2867, allocations: 40.16 kB / 0.5695 GB, free: 9.371 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002136/0.2889, allocations: 2.837 MB / 0.5723 GB, free: 6.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.289, allocations: 35.98 kB / 0.5723 GB, free: 6.215 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.289, allocations: 7.938 kB / 0.5723 GB, free: 6.207 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 17 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001275/0.2892, allocations: 145.7 kB / 0.5724 GB, free: 6.055 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.468e-05/0.2892, allocations: 11.95 kB / 0.5725 GB, free: 6.043 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006328/0.2898, allocations: 268.2 kB / 0.5727 GB, free: 5.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.2899, allocations: 0 / 0.5727 GB, free: 5.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.2899, allocations: 4 kB / 0.5727 GB, free: 5.766 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2899, allocations: 0 / 0.5727 GB, free: 5.766 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.2909, allocations: 0.6461 MB / 0.5733 GB, free: 5.047 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2909, allocations: 0 / 0.5733 GB, free: 5.047 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.2911, allocations: 31.97 kB / 0.5734 GB, free: 5.016 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001342/0.2912, allocations: 65.72 kB / 0.5734 GB, free: 4.945 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.2913, allocations: 0 / 0.5734 GB, free: 4.945 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002057/0.2933, allocations: 2.84 MB / 0.5762 GB, free: 1.824 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.2933, allocations: 3.938 kB / 0.5762 GB, free: 1.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008854/0.2942, allocations: 0.518 MB / 0.5767 GB, free: 1.273 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.503e-05/0.2943, allocations: 93.08 kB / 0.5768 GB, free: 1.164 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.2943, allocations: 4 kB / 0.5768 GB, free: 1.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.2945, allocations: 19.92 kB / 0.5768 GB, free: 1.141 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.328e-05/0.2945, allocations: 19.97 kB / 0.5769 GB, free: 1.121 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.2945, allocations: 4 kB / 0.5769 GB, free: 1.117 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.44e-05/0.2946, allocations: 109.2 kB / 0.577 GB, free: 1.012 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2946, allocations: 0 / 0.577 GB, free: 1.012 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004057/0.295, allocations: 79.78 kB / 0.577 GB, free: 0.9336 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.port_p.reference.gamma) * 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 (15): * Single equations (assignments): 13 * 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,2,100.0%), (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.001293/0.2963, allocations: 1.084 MB / 0.5781 GB, free: 15.82 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007422/0.297, allocations: 413.5 kB / 0.5785 GB, free: 15.39 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.297, allocations: 7.938 kB / 0.5785 GB, free: 15.38 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004227/0.2975, allocations: 328.4 kB / 0.5788 GB, free: 15.04 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.2978, allocations: 15.94 kB / 0.5788 GB, free: 15.02 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003161/0.301, allocations: 2.344 MB / 0.5811 GB, free: 12.54 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.3014, allocations: 0.7361 MB / 0.5818 GB, free: 11.77 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.251e-05/0.3014, allocations: 17.42 kB / 0.5819 GB, free: 11.76 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.748e-05/0.3015, allocations: 59.42 kB / 0.5819 GB, free: 11.7 MB / 430.1 MB Notification: Performance of SimCode: time 6.92e-07/0.3015, allocations: 0 / 0.5819 GB, free: 11.7 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03386/0.3354, allocations: 4.444 MB / 0.5862 GB, free: 7.348 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.76/9.095, allocations: 4.062 kB / 0.5863 GB, free: 7.344 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.592667909993907]