Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.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.001805/0.001805, allocations: 109.4 kB / 19.8 MB, free: 2.5 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.00233/0.00233, allocations: 216.5 kB / 23 MB, free: 5.582 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.488/1.488, allocations: 230.2 MB / 256.2 MB, free: 8.551 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.2282/0.2282, allocations: 46.89 MB / 359.4 MB, free: 4.906 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.Sources,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sources,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Sources",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.002517/0.002517, allocations: 79.84 kB / 0.4941 GB, free: 9.012 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2965, allocations: 65.98 MB / 0.5586 GB, free: 5.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004292/0.3008, allocations: 2.713 MB / 0.5612 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.3023, allocations: 0.7944 MB / 0.562 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001836/0.3025, allocations: 8 kB / 0.562 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002556/0.3028, allocations: 79.3 kB / 0.5621 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000281/0.3031, allocations: 107.2 kB / 0.5622 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.3034, allocations: 111.8 kB / 0.5623 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005174/0.3039, allocations: 426 kB / 0.5627 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002331/0.3041, allocations: 108 kB / 0.5628 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001996/0.3043, allocations: 147.5 kB / 0.5629 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002254/0.3045, allocations: 171.2 kB / 0.5631 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.188e-05/0.3046, allocations: 32 kB / 0.5631 GB, free: 476 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.647e-05/0.3047, allocations: 36 kB / 0.5632 GB, free: 440 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.146e-05/0.3047, allocations: 75.7 kB / 0.5632 GB, free: 364 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001737/0.3049, allocations: 187 kB / 0.5634 GB, free: 176 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005977/0.3055, allocations: 428.1 kB / 0.5638 GB, free: 15.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3055, allocations: 0 / 0.5638 GB, free: 15.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3055, allocations: 0 / 0.5638 GB, free: 15.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.559e-05/0.3055, allocations: 0 / 0.5638 GB, free: 15.75 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001171/0.3067, allocations: 0.6819 MB / 0.5645 GB, free: 15.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.3067, allocations: 11.97 kB / 0.5645 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.931e-05/0.3068, allocations: 74.72 kB / 0.5646 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.807e-05/0.3069, allocations: 40.7 kB / 0.5646 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004107/0.3073, allocations: 290.7 kB / 0.5649 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.178e-05/0.3073, allocations: 21.38 kB / 0.5649 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.787e-05/0.3074, allocations: 36.31 kB / 0.5649 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000682/0.3081, allocations: 362 kB / 0.5653 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.3081, allocations: 0 / 0.5653 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.032e-05/0.3081, allocations: 16 kB / 0.5653 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.3081, allocations: 8 kB / 0.5653 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006646/0.3088, allocations: 263.8 kB / 0.5656 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002336/0.3111, allocations: 1.343 MB / 0.5669 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005428/0.3117, allocations: 194.5 kB / 0.567 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002278/0.3119, allocations: 83.5 kB / 0.5671 GB, free: 12.1 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.3119, allocations: 0 / 0.5671 GB, free: 12.1 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.312, allocations: 42.56 kB / 0.5672 GB, free: 12.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.152e-06/0.312, allocations: 4 kB / 0.5672 GB, free: 12.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008447/0.3128, allocations: 253.2 kB / 0.5674 GB, free: 11.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.865e-05/0.3129, allocations: 128.5 kB / 0.5675 GB, free: 11.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004197/0.3133, allocations: 345.8 kB / 0.5679 GB, free: 11.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.3133, allocations: 33.64 kB / 0.5679 GB, free: 11.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.3135, allocations: 244.1 kB / 0.5681 GB, free: 11.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.839e-05/0.3136, allocations: 51.58 kB / 0.5682 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.3137, allocations: 57.94 kB / 0.5682 GB, free: 10.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.3139, allocations: 342.8 kB / 0.5686 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002482/0.3141, allocations: 84.44 kB / 0.5686 GB, free: 10.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003218/0.3144, allocations: 173 kB / 0.5688 GB, free: 10.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008291/0.3153, allocations: 246.9 kB / 0.569 GB, free: 9.977 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.3153, allocations: 0 / 0.569 GB, free: 9.977 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001053/0.3163, allocations: 309.1 kB / 0.5693 GB, free: 9.668 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.3163, allocations: 8 kB / 0.5693 GB, free: 9.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.3164, allocations: 11.92 kB / 0.5694 GB, free: 9.648 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.3164, allocations: 4 kB / 0.5694 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000455/0.3168, allocations: 87.88 kB / 0.5694 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/0.3168, allocations: 12.11 kB / 0.5695 GB, free: 9.547 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002813/0.3171, allocations: 51.66 kB / 0.5695 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/0.3172, allocations: 12 kB / 0.5695 GB, free: 9.484 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001885/0.3173, allocations: 145.7 kB / 0.5697 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.3175, allocations: 35.81 kB / 0.5697 GB, free: 9.297 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.669e-05/0.3176, allocations: 34.39 kB / 0.5697 GB, free: 9.262 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.3176, allocations: 4 kB / 0.5697 GB, free: 9.258 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.3176, allocations: 0.5625 kB / 0.5697 GB, free: 9.258 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.3176, allocations: 4 kB / 0.5697 GB, free: 9.254 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.3186, allocations: 0.5915 MB / 0.5703 GB, free: 8.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.3186, allocations: 4 kB / 0.5703 GB, free: 8.586 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003184/0.3189, allocations: 64.03 kB / 0.5704 GB, free: 8.523 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.167e-06/0.3189, allocations: 4.281 kB / 0.5704 GB, free: 8.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.319, allocations: 11.94 kB / 0.5704 GB, free: 8.508 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.319, allocations: 0 / 0.5704 GB, free: 8.508 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.319, allocations: 4 kB / 0.5704 GB, free: 8.504 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006207/0.3196, allocations: 398.7 kB / 0.5708 GB, free: 8.082 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.3197, allocations: 108.9 kB / 0.5709 GB, free: 7.957 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.987e-05/0.3197, allocations: 11.92 kB / 0.5709 GB, free: 7.945 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002327/0.32, allocations: 19.98 kB / 0.5709 GB, free: 7.926 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.32, allocations: 11.98 kB / 0.5709 GB, free: 7.914 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.32, allocations: 4 kB / 0.5709 GB, free: 7.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003218/0.3204, allocations: 243.2 kB / 0.5712 GB, free: 7.676 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3204, allocations: 0 / 0.5712 GB, free: 7.676 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000521/0.3209, allocations: 67.89 kB / 0.5712 GB, free: 7.609 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0011/0.322, allocations: 0.9342 MB / 0.5721 GB, free: 6.629 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005863/0.3226, allocations: 195.4 kB / 0.5723 GB, free: 6.441 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3226, allocations: 4.125 kB / 0.5723 GB, free: 6.438 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003473/0.3229, allocations: 75.89 kB / 0.5724 GB, free: 6.363 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004481/0.3234, allocations: 33.3 kB / 0.5724 GB, free: 6.332 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004732/0.3281, allocations: 3.003 MB / 0.5754 GB, free: 3.141 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005146/0.3286, allocations: 0.7753 MB / 0.5761 GB, free: 2.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001106/0.3287, allocations: 21.95 kB / 0.5761 GB, free: 2.316 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.3289, allocations: 103.4 kB / 0.5762 GB, free: 2.215 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3289, allocations: 0 / 0.5762 GB, free: 2.215 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02926/0.3581, allocations: 4.998 MB / 0.5811 GB, free: 13.29 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.5/8.858, allocations: 14.56 kB / 0.5811 GB, free: 13.28 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Sources.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.59999981301371] Failed to read output from testmodel.py, exit status != 0: ['time', 'constantSource.V_m', 'constantSource.Phi', 'signalSource.V_m', 'signalSource.Phi', 'constantSource1.Phi', 'constantSource1.V_m', 'signalSource1.Phi', 'signalSource1.V_m'] 8.933715411985759 8.949409115 8.640623812 Calling exit ...