Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001817/0.001817, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002769/0.002769, allocations: 214.7 kB / 24.52 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.46/1.46, allocations: 230.6 MB / 258.3 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2247/0.2247, allocations: 44.93 MB / 359.6 MB, free: 6.066 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00286/0.00286, allocations: 63.91 kB / 0.4938 GB, free: 10.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3488, allocations: 65.47 MB / 0.5577 GB, free: 7.371 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003443/0.3523, allocations: 1.697 MB / 0.5594 GB, free: 5.883 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001962/0.3525, allocations: 79.72 kB / 0.5594 GB, free: 5.805 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.688e-05/0.3525, allocations: 8 kB / 0.5595 GB, free: 5.797 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.129e-05/0.3526, allocations: 19.8 kB / 0.5595 GB, free: 5.777 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.686e-05/0.3527, allocations: 23.78 kB / 0.5595 GB, free: 5.754 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001148/0.3528, allocations: 23.95 kB / 0.5595 GB, free: 5.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001704/0.3529, allocations: 107.6 kB / 0.5596 GB, free: 5.625 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/0.3531, allocations: 43.45 kB / 0.5597 GB, free: 5.586 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.054e-05/0.3532, allocations: 47.84 kB / 0.5597 GB, free: 5.539 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.597e-05/0.3533, allocations: 51.78 kB / 0.5598 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.863e-05/0.3533, allocations: 15.98 kB / 0.5598 GB, free: 5.473 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.13e-05/0.3533, allocations: 8 kB / 0.5598 GB, free: 5.465 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.307e-05/0.3534, allocations: 27.92 kB / 0.5598 GB, free: 5.438 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.3535, allocations: 47.78 kB / 0.5598 GB, free: 5.391 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.3537, allocations: 111.6 kB / 0.56 GB, free: 5.281 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.3537, allocations: 4 kB / 0.56 GB, free: 5.277 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.3537, allocations: 0 / 0.56 GB, free: 5.277 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.3537, allocations: 0 / 0.56 GB, free: 5.277 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.0006954/0.3544, allocations: 341.9 kB / 0.5603 GB, free: 4.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.3544, allocations: 16.03 kB / 0.5603 GB, free: 4.895 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.524e-05/0.3544, allocations: 4.125 kB / 0.5603 GB, free: 4.891 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.767e-05/0.3545, allocations: 42.73 kB / 0.5603 GB, free: 4.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.447e-05/0.3545, allocations: 12.89 kB / 0.5604 GB, free: 4.828 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.3547, allocations: 122.4 kB / 0.5605 GB, free: 4.684 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.3547, allocations: 4.375 kB / 0.5605 GB, free: 4.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.3547, allocations: 8.375 kB / 0.5605 GB, free: 4.672 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00035/0.355, allocations: 131.5 kB / 0.5606 GB, free: 4.539 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.3551, allocations: 0 / 0.5606 GB, free: 4.539 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.3551, allocations: 4 kB / 0.5606 GB, free: 4.535 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.3551, allocations: 4 kB / 0.5606 GB, free: 4.531 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003652/0.3554, allocations: 103.8 kB / 0.5607 GB, free: 4.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008039/0.3562, allocations: 426.4 kB / 0.5611 GB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/0.3565, allocations: 82.53 kB / 0.5612 GB, free: 3.871 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002388/0.3567, allocations: 68.91 kB / 0.5613 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.3568, allocations: 0 / 0.5613 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.379e-05/0.3568, allocations: 38.5 kB / 0.5613 GB, free: 3.754 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.3568, allocations: 0 / 0.5613 GB, free: 3.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008506/0.3577, allocations: 190.3 kB / 0.5615 GB, free: 3.559 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.3577, allocations: 55.41 kB / 0.5615 GB, free: 3.492 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.3578, allocations: 121.8 kB / 0.5617 GB, free: 3.363 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.3579, allocations: 25.7 kB / 0.5617 GB, free: 3.332 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.641e-05/0.358, allocations: 108.2 kB / 0.5618 GB, free: 3.219 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.358, allocations: 31.78 kB / 0.5618 GB, free: 3.188 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.733e-05/0.358, allocations: 17.72 kB / 0.5618 GB, free: 3.164 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3582, allocations: 314.8 kB / 0.5621 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.3584, allocations: 43.95 kB / 0.5622 GB, free: 2.805 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.3585, allocations: 58.47 kB / 0.5622 GB, free: 2.738 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003097/0.3589, allocations: 94.5 kB / 0.5623 GB, free: 2.637 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3589, allocations: 4 kB / 0.5623 GB, free: 2.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004362/0.3593, allocations: 142.3 kB / 0.5625 GB, free: 2.484 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.3593, allocations: 8.062 kB / 0.5625 GB, free: 2.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3593, allocations: 4 kB / 0.5625 GB, free: 2.473 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001721/0.3595, allocations: 24.84 kB / 0.5625 GB, free: 2.445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.3596, allocations: 19.92 kB / 0.5625 GB, free: 2.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/0.3608, allocations: 1.295 MB / 0.5638 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.3609, allocations: 19.94 kB / 0.5638 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.3609, allocations: 4.312 kB / 0.5638 GB, free: 0.9844 MB / 398.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.0001165/0.361, allocations: 121.9 kB / 0.5639 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.26e-05/0.3611, allocations: 11.89 kB / 0.5639 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.412e-05/0.3611, allocations: 8.516 kB / 0.5639 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.3611, allocations: 3.984 kB / 0.5639 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3611, allocations: 4 kB / 0.5639 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.3611, allocations: 4 kB / 0.5639 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006912/0.3618, allocations: 383.2 kB / 0.5643 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.3618, allocations: 4 kB / 0.5643 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.855e-05/0.3619, allocations: 19.92 kB / 0.5643 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.465e-05/0.362, allocations: 24.84 kB / 0.5644 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.362, allocations: 0 / 0.5644 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001075/0.3631, allocations: 1.287 MB / 0.5656 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3631, allocations: 96 / 0.5656 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004736/0.3636, allocations: 249.1 kB / 0.5659 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.686e-05/0.3636, allocations: 11.95 kB / 0.5659 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.3636, allocations: 0 / 0.5659 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.3637, allocations: 19.86 kB / 0.5659 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/0.3638, allocations: 7.984 kB / 0.5659 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.3638, allocations: 7.938 kB / 0.5659 GB, free: 14.63 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.182e-05/0.3638, allocations: 95.27 kB / 0.566 GB, free: 14.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3638, allocations: 4 kB / 0.566 GB, free: 14.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00028/0.3641, allocations: 27.89 kB / 0.566 GB, free: 14.51 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.0008445/0.365, allocations: 0.7651 MB / 0.5668 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005565/0.3655, allocations: 206.5 kB / 0.567 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3655, allocations: 3.938 kB / 0.567 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002906/0.3658, allocations: 158.6 kB / 0.5671 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.3662, allocations: 7.984 kB / 0.5671 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.3685, allocations: 1.614 MB / 0.5687 GB, free: 11.6 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.506e-05/0.3686, allocations: 81.31 kB / 0.5688 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.809e-05/0.3686, allocations: 7.75 kB / 0.5688 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.64e-05/0.3687, allocations: 23.42 kB / 0.5688 GB, free: 11.47 MB / 414.1 MB Notification: Performance of SimCode: time 6.22e-07/0.3687, allocations: 4 kB / 0.5688 GB, free: 11.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02615/0.3948, allocations: 2.571 MB / 0.5713 GB, free: 9.047 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.35, allocations: 8.062 kB / 0.5713 GB, free: 9.039 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.290995299001224] Failed to read output from testmodel.py, exit status != 0: ['time', 'reluctance.V_m', 'reluctance.Phi', 'permeance.V_m', 'permeance.Phi'] 12.520074769039638 12.548046234 12.189070892 Calling exit ...