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.001327/0.001327, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001451/0.001451, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.473/1.473, allocations: 230.5 MB / 258.2 MB, free: 8.016 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.245/0.245, 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.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.002346/0.002346, allocations: 79.86 kB / 0.497 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3469, allocations: 66.09 MB / 0.5615 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.00447/0.3514, allocations: 2.504 MB / 0.5639 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002084/0.3535, allocations: 1.113 MB / 0.565 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002145/0.3537, allocations: 8 kB / 0.565 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001533/0.3552, allocations: 0.5017 MB / 0.5655 GB, free: 140 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004198/0.3557, allocations: 115.2 kB / 0.5656 GB, free: 24 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.3567, allocations: 490.1 kB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003466/0.357, allocations: 227 kB / 0.5663 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004659/0.3575, allocations: 228.5 kB / 0.5665 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001996/0.3577, allocations: 103.6 kB / 0.5666 GB, free: 15 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001787/0.3579, allocations: 123.5 kB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.756e-05/0.3579, allocations: 24 kB / 0.5668 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003489/0.3582, allocations: 151.9 kB / 0.5669 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.281e-05/0.3583, allocations: 51.83 kB / 0.567 GB, free: 14.65 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.3584, allocations: 115.4 kB / 0.5671 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000541/0.359, allocations: 406.5 kB / 0.5675 GB, free: 14.14 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.359, allocations: 0 / 0.5675 GB, free: 14.14 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.359, allocations: 0 / 0.5675 GB, free: 14.14 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.359, allocations: 0 / 0.5675 GB, free: 14.14 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.00129/0.3603, allocations: 0.556 MB / 0.568 GB, free: 13.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.3603, allocations: 8.031 kB / 0.568 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.891e-05/0.3604, allocations: 58.72 kB / 0.5681 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003264/0.3607, allocations: 52.77 kB / 0.5681 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.3608, allocations: 134.2 kB / 0.5683 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.3609, allocations: 20.88 kB / 0.5683 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.874e-05/0.3609, allocations: 24.38 kB / 0.5683 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006321/0.3615, allocations: 290.7 kB / 0.5686 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.3616, allocations: 0 / 0.5686 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.3616, allocations: 11.94 kB / 0.5686 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.3616, allocations: 8 kB / 0.5686 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005843/0.3622, allocations: 237.5 kB / 0.5688 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001581/0.3638, allocations: 0.9377 MB / 0.5697 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004672/0.3642, allocations: 203.4 kB / 0.5699 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003467/0.3646, allocations: 129.7 kB / 0.5701 GB, free: 11.33 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/0.3647, allocations: 19.94 kB / 0.5701 GB, free: 11.31 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.3647, allocations: 42.55 kB / 0.5701 GB, free: 11.26 MB / 414.1 MB Notification: Performance of pre-optimization done (n=19): time 1.362e-06/0.3647, allocations: 0 / 0.5701 GB, free: 11.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001188/0.3659, allocations: 347.2 kB / 0.5705 GB, free: 10.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.287e-05/0.366, allocations: 77.11 kB / 0.5705 GB, free: 10.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.3661, allocations: 140.3 kB / 0.5707 GB, free: 10.67 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.3662, allocations: 33.7 kB / 0.5707 GB, free: 10.63 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.3663, allocations: 148.3 kB / 0.5708 GB, free: 10.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.43e-05/0.3663, allocations: 71.52 kB / 0.5709 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.299e-05/0.3664, allocations: 37.7 kB / 0.5709 GB, free: 10.37 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3666, allocations: 322.8 kB / 0.5712 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/0.3668, allocations: 67.95 kB / 0.5713 GB, free: 9.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002411/0.367, allocations: 122.1 kB / 0.5714 GB, free: 9.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004548/0.3675, allocations: 209.8 kB / 0.5716 GB, free: 9.613 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3675, allocations: 3.938 kB / 0.5716 GB, free: 9.609 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006358/0.3681, allocations: 274.2 kB / 0.5719 GB, free: 9.332 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.3681, allocations: 7.938 kB / 0.5719 GB, free: 9.324 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.964e-06/0.3681, allocations: 7.984 kB / 0.5719 GB, free: 9.316 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000232/0.3684, allocations: 45.7 kB / 0.5719 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.3686, allocations: 43.97 kB / 0.572 GB, free: 9.223 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002209/0.3708, allocations: 2.645 MB / 0.5746 GB, free: 6.344 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.3709, allocations: 27.81 kB / 0.5746 GB, free: 6.316 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/0.3709, allocations: 15.94 kB / 0.5746 GB, free: 6.301 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.0001557/0.3711, allocations: 145.8 kB / 0.5748 GB, free: 6.148 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.511e-05/0.3712, allocations: 7.953 kB / 0.5748 GB, free: 6.141 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006751/0.3718, allocations: 262 kB / 0.575 GB, free: 5.871 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.3718, allocations: 4 kB / 0.575 GB, free: 5.867 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.736e-06/0.3718, allocations: 0 / 0.575 GB, free: 5.867 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.3718, allocations: 4.125 kB / 0.575 GB, free: 5.863 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/0.373, allocations: 0.6257 MB / 0.5756 GB, free: 5.172 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.373, allocations: 0 / 0.5756 GB, free: 5.172 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.3732, allocations: 39.91 kB / 0.5757 GB, free: 5.133 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001349/0.3734, allocations: 49.62 kB / 0.5757 GB, free: 5.078 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.3734, allocations: 8 kB / 0.5757 GB, free: 5.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002141/0.3755, allocations: 2.638 MB / 0.5783 GB, free: 2.207 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3755, allocations: 0 / 0.5783 GB, free: 2.207 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009633/0.3765, allocations: 0.5141 MB / 0.5788 GB, free: 1.664 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.643e-05/0.3765, allocations: 15.94 kB / 0.5788 GB, free: 1.648 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.3765, allocations: 7.984 kB / 0.5788 GB, free: 1.641 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.3767, allocations: 19.92 kB / 0.5788 GB, free: 1.621 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.287e-05/0.3768, allocations: 23.91 kB / 0.5789 GB, free: 1.598 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.3768, allocations: 4 kB / 0.5789 GB, free: 1.594 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001114/0.3769, allocations: 107.2 kB / 0.579 GB, free: 1.488 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3769, allocations: 4.062 kB / 0.579 GB, free: 1.484 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000455/0.3774, allocations: 71.84 kB / 0.579 GB, free: 1.414 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.001378/0.3787, allocations: 1.08 MB / 0.5801 GB, free: 304 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007975/0.3795, allocations: 409 kB / 0.5805 GB, free: 15.87 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3795, allocations: 4.312 kB / 0.5805 GB, free: 15.87 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004445/0.38, allocations: 329.2 kB / 0.5808 GB, free: 15.52 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004421/0.3804, allocations: 18.81 kB / 0.5808 GB, free: 15.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003453/0.3839, allocations: 2.353 MB / 0.5831 GB, free: 13.01 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000395/0.3843, allocations: 0.7401 MB / 0.5838 GB, free: 12.24 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.008e-05/0.3844, allocations: 13.44 kB / 0.5839 GB, free: 12.23 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.3845, allocations: 59.41 kB / 0.5839 GB, free: 12.17 MB / 430.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3845, allocations: 0 / 0.5839 GB, free: 12.17 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04915/0.4336, allocations: 4.549 MB / 0.5884 GB, free: 7.715 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.96/10.39, allocations: 6.812 kB / 0.5884 GB, free: 7.711 MB / 430.1 MB " [Timeout remaining time 650] (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 --stepSize=0.00019984 --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: 13.22551481006667] Failed to read output from testmodel.py, exit status != 0: ['time', 'reluctance.abs_V_m', 'reluctance.abs_Phi', 'permeance.abs_V_m', 'permeance.abs_Phi', 'magFluxSource.gamma'] 10.480676259845495 10.497631149 10.135359202 Calling exit ...