Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.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.001733/0.001733, allocations: 109.4 kB / 19.8 MB, free: 2.516 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.002363/0.002363, allocations: 224.9 kB / 23.01 MB, free: 5.609 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.487/1.487, allocations: 230.2 MB / 256.2 MB, free: 8.738 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.2191/0.2191, allocations: 46.89 MB / 359.4 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.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape",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.002311/0.002311, allocations: 79.88 kB / 0.4941 GB, free: 9.035 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2996, allocations: 65.99 MB / 0.5586 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.004157/0.3038, allocations: 2.505 MB / 0.561 GB, free: 2.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001654/0.3054, allocations: 0.8412 MB / 0.5618 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.3056, allocations: 4 kB / 0.5618 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002141/0.3058, allocations: 63.44 kB / 0.5619 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003041/0.3061, allocations: 109.1 kB / 0.562 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.3063, allocations: 99.86 kB / 0.5621 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003923/0.3067, allocations: 358.7 kB / 0.5624 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.3069, allocations: 68.72 kB / 0.5625 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002837/0.3072, allocations: 147.5 kB / 0.5627 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002344/0.3074, allocations: 163.2 kB / 0.5628 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.986e-05/0.3075, allocations: 28 kB / 0.5628 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.573e-05/0.3076, allocations: 32 kB / 0.5629 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.774e-05/0.3076, allocations: 63.77 kB / 0.5629 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001747/0.3078, allocations: 163.2 kB / 0.5631 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004844/0.3083, allocations: 370.4 kB / 0.5634 GB, free: 180 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3083, allocations: 4 kB / 0.5634 GB, free: 176 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3083, allocations: 0 / 0.5634 GB, free: 176 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.3083, allocations: 0 / 0.5634 GB, free: 176 kB / 398.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.001269/0.3096, allocations: 0.6427 MB / 0.5641 GB, free: 15.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.3096, allocations: 12.03 kB / 0.5641 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.28e-05/0.3097, allocations: 66.66 kB / 0.5641 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001548/0.3099, allocations: 40.7 kB / 0.5642 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003864/0.3103, allocations: 270.9 kB / 0.5644 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.3103, allocations: 16.94 kB / 0.5645 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.914e-05/0.3103, allocations: 24.38 kB / 0.5645 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005216/0.3108, allocations: 248.9 kB / 0.5647 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.3109, allocations: 3.938 kB / 0.5647 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.961e-05/0.3109, allocations: 12 kB / 0.5647 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.3109, allocations: 4 kB / 0.5647 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005366/0.3114, allocations: 234.1 kB / 0.565 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.313, allocations: 0.8794 MB / 0.5658 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005758/0.3135, allocations: 289.8 kB / 0.5661 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002966/0.3138, allocations: 120.8 kB / 0.5662 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.577e-05/0.3139, allocations: 4 kB / 0.5662 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.3139, allocations: 42.48 kB / 0.5663 GB, free: 13.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 1.543e-06/0.3139, allocations: 0 / 0.5663 GB, free: 13.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.004798/0.3187, allocations: 1.25 MB / 0.5675 GB, free: 11.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.3187, allocations: 59.34 kB / 0.5675 GB, free: 11.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003044/0.319, allocations: 229 kB / 0.5677 GB, free: 11.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.3191, allocations: 33.7 kB / 0.5678 GB, free: 11.42 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.3192, allocations: 173.3 kB / 0.5679 GB, free: 11.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.703e-05/0.3193, allocations: 107.1 kB / 0.568 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.3194, allocations: 53.7 kB / 0.5681 GB, free: 11.08 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002021/0.3196, allocations: 330.8 kB / 0.5684 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002372/0.3199, allocations: 95.95 kB / 0.5685 GB, free: 10.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002611/0.3201, allocations: 122.7 kB / 0.5686 GB, free: 10.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000499/0.3206, allocations: 240.1 kB / 0.5689 GB, free: 10.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3206, allocations: 0 / 0.5689 GB, free: 10.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001833/0.3225, allocations: 0.5412 MB / 0.5694 GB, free: 9.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.3225, allocations: 7.938 kB / 0.5694 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3225, allocations: 0 / 0.5694 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001744/0.3242, allocations: 315.1 kB / 0.5697 GB, free: 9.402 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.3244, allocations: 31.97 kB / 0.5697 GB, free: 9.371 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008263/0.3327, allocations: 6.848 MB / 0.5764 GB, free: 1.957 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.3329, allocations: 23.91 kB / 0.5764 GB, free: 1.934 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.3329, allocations: 8 kB / 0.5764 GB, free: 1.926 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002427/0.3332, allocations: 145.7 kB / 0.5766 GB, free: 1.773 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.66e-05/0.3332, allocations: 27.81 kB / 0.5766 GB, free: 1.746 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002022/0.3352, allocations: 0.5479 MB / 0.5771 GB, free: 1.184 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.3352, allocations: 4 kB / 0.5771 GB, free: 1.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3352, allocations: 3.938 kB / 0.5771 GB, free: 1.176 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.3352, allocations: 7.984 kB / 0.5772 GB, free: 1.168 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004524/0.3357, allocations: 357.3 kB / 0.5775 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.3357, allocations: 0 / 0.5775 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.3358, allocations: 16.17 kB / 0.5775 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001541/0.3374, allocations: 323.1 kB / 0.5778 GB, free: 436 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.3374, allocations: 4 kB / 0.5778 GB, free: 432 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008544/0.3459, allocations: 6.905 MB / 0.5846 GB, free: 8.953 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3459, allocations: 0 / 0.5846 GB, free: 8.953 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001789/0.3477, allocations: 0.6196 MB / 0.5852 GB, free: 8.305 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.309e-05/0.3478, allocations: 108.8 kB / 0.5853 GB, free: 8.18 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.3478, allocations: 8 kB / 0.5853 GB, free: 8.172 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.348, allocations: 11.98 kB / 0.5853 GB, free: 8.16 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.3481, allocations: 35.95 kB / 0.5853 GB, free: 8.125 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.3482, allocations: 4 kB / 0.5853 GB, free: 8.121 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001881/0.3484, allocations: 174 kB / 0.5855 GB, free: 7.949 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3484, allocations: 3.938 kB / 0.5855 GB, free: 7.945 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005184/0.3489, allocations: 119.8 kB / 0.5856 GB, free: 7.828 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,4), (2,4), (2,4), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002121/0.351, allocations: 1.168 MB / 0.5868 GB, free: 6.625 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001214/0.3522, allocations: 0.7491 MB / 0.5875 GB, free: 5.824 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3522, allocations: 0 / 0.5875 GB, free: 5.824 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001371/0.3536, allocations: 0.7328 MB / 0.5882 GB, free: 5.039 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.3539, allocations: 24.75 kB / 0.5882 GB, free: 5.012 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006313/0.3602, allocations: 3.16 MB / 0.5913 GB, free: 1.727 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/0.3606, allocations: 0.7755 MB / 0.5921 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.031e-05/0.3607, allocations: 13.95 kB / 0.5921 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.3608, allocations: 79.41 kB / 0.5922 GB, free: 0.832 MB / 430.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3608, allocations: 4 kB / 0.5922 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05041/0.4112, allocations: 11.15 MB / 0.603 GB, free: 5.816 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/12.98, allocations: 10.11 kB / 0.6031 GB, free: 5.809 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.85763057100121] Failed to read output from testmodel.py, exit status != 0: ['time', 'signalSource.V_m', 'signalSource.Phi', 'cuboid.G_m', 'cuboid.A', 'hollowCylinderAxialFlux.G_m', 'hollowCylinderAxialFlux.A', 'hollowCylinderRadialFlux.G_m', 'hollowCylinderRadialFlux.A', 'genericFluxTube.G_m', 'genericFluxTube.A'] 13.087651592009934 13.119432564 12.805115449 Calling exit ...