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.001774/0.001774, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.00219/0.00219, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.476/1.476, allocations: 230.5 MB / 258.2 MB, free: 8.031 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.2303/0.2303, allocations: 46.94 MB / 361.6 MB, free: 4.188 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.002398/0.002398, allocations: 76.06 kB / 0.497 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3091, allocations: 66.08 MB / 0.5615 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004421/0.3135, allocations: 2.718 MB / 0.5642 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001477/0.315, allocations: 0.7944 MB / 0.5649 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001745/0.3151, allocations: 8 kB / 0.5649 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002647/0.3154, allocations: 79.3 kB / 0.565 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002556/0.3157, allocations: 107.2 kB / 0.5651 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.316, allocations: 107.9 kB / 0.5652 GB, free: 480 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004747/0.3164, allocations: 425.9 kB / 0.5656 GB, free: 56 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002294/0.3167, allocations: 103.9 kB / 0.5657 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000201/0.3169, allocations: 151.4 kB / 0.5659 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002068/0.3171, allocations: 171.1 kB / 0.566 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.262e-05/0.3171, allocations: 32 kB / 0.5661 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.349e-05/0.3172, allocations: 36 kB / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.786e-05/0.3173, allocations: 79.69 kB / 0.5662 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001751/0.3174, allocations: 187 kB / 0.5663 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004681/0.3179, allocations: 428.3 kB / 0.5668 GB, free: 14.89 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3179, allocations: 0 / 0.5668 GB, free: 14.89 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3179, allocations: 0 / 0.5668 GB, free: 14.89 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.3179, allocations: 0 / 0.5668 GB, free: 14.89 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.001097/0.319, allocations: 0.6066 MB / 0.5673 GB, free: 14.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.3191, allocations: 8.031 kB / 0.5674 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.719e-05/0.3191, allocations: 70.72 kB / 0.5674 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.833e-05/0.3192, allocations: 40.7 kB / 0.5675 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004022/0.3196, allocations: 228.8 kB / 0.5677 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.773e-05/0.3197, allocations: 29.31 kB / 0.5677 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.518e-05/0.3197, allocations: 36.31 kB / 0.5677 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007091/0.3205, allocations: 358 kB / 0.5681 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.3205, allocations: 0 / 0.5681 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.513e-05/0.3205, allocations: 19.98 kB / 0.5681 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.3205, allocations: 8 kB / 0.5681 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006584/0.3212, allocations: 263.8 kB / 0.5684 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002121/0.3233, allocations: 1.296 MB / 0.5696 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005319/0.3238, allocations: 198.5 kB / 0.5698 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002169/0.324, allocations: 83.5 kB / 0.5699 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.52e-05/0.3241, allocations: 3.984 kB / 0.5699 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.3241, allocations: 38.56 kB / 0.5699 GB, free: 11.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.3241, allocations: 0 / 0.5699 GB, free: 11.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007955/0.3249, allocations: 249.6 kB / 0.5702 GB, free: 11.15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.321e-05/0.325, allocations: 132.6 kB / 0.5703 GB, free: 10.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003843/0.3254, allocations: 341.7 kB / 0.5706 GB, free: 10.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.3254, allocations: 29.7 kB / 0.5707 GB, free: 10.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.3256, allocations: 244.1 kB / 0.5709 GB, free: 10.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.759e-05/0.3256, allocations: 55.53 kB / 0.5709 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.64e-05/0.3257, allocations: 57.94 kB / 0.571 GB, free: 10.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.3259, allocations: 346.7 kB / 0.5713 GB, free: 9.895 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002429/0.3261, allocations: 76.64 kB / 0.5714 GB, free: 9.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002991/0.3264, allocations: 176.1 kB / 0.5716 GB, free: 9.609 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005255/0.327, allocations: 259 kB / 0.5718 GB, free: 9.316 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.327, allocations: 0 / 0.5718 GB, free: 9.316 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006948/0.3276, allocations: 309.2 kB / 0.5721 GB, free: 9.008 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.3277, allocations: 10.66 kB / 0.5721 GB, free: 9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.3277, allocations: 80 / 0.5721 GB, free: 9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.3277, allocations: 8 kB / 0.5721 GB, free: 8.992 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004151/0.3281, allocations: 91.86 kB / 0.5722 GB, free: 8.902 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.3281, allocations: 16.17 kB / 0.5722 GB, free: 8.887 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002642/0.3284, allocations: 47.66 kB / 0.5723 GB, free: 8.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.3284, allocations: 12 kB / 0.5723 GB, free: 8.828 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.0001613/0.3286, allocations: 150.5 kB / 0.5724 GB, free: 8.672 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.3287, allocations: 35.8 kB / 0.5725 GB, free: 8.637 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.172e-05/0.3287, allocations: 34.5 kB / 0.5725 GB, free: 8.602 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.3288, allocations: 4 kB / 0.5725 GB, free: 8.598 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3288, allocations: 0 / 0.5725 GB, free: 8.598 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.3288, allocations: 8 kB / 0.5725 GB, free: 8.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008325/0.3296, allocations: 0.5555 MB / 0.5731 GB, free: 7.969 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.3296, allocations: 4 kB / 0.5731 GB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002887/0.3299, allocations: 60.03 kB / 0.5731 GB, free: 7.906 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.3299, allocations: 4 kB / 0.5731 GB, free: 7.902 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.3299, allocations: 11.94 kB / 0.5731 GB, free: 7.891 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.3299, allocations: 0 / 0.5731 GB, free: 7.891 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.3299, allocations: 4 kB / 0.5731 GB, free: 7.887 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005843/0.3305, allocations: 398.7 kB / 0.5735 GB, free: 7.465 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.788e-05/0.3306, allocations: 35.8 kB / 0.5735 GB, free: 7.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.363e-05/0.3306, allocations: 11.94 kB / 0.5736 GB, free: 7.418 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002285/0.3308, allocations: 15.98 kB / 0.5736 GB, free: 7.402 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.377e-05/0.3309, allocations: 19.91 kB / 0.5736 GB, free: 7.383 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.3309, allocations: 4 kB / 0.5736 GB, free: 7.379 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002628/0.3312, allocations: 239.2 kB / 0.5738 GB, free: 7.145 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3312, allocations: 0 / 0.5738 GB, free: 7.145 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004277/0.3316, allocations: 71.83 kB / 0.5739 GB, free: 7.074 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.0009111/0.3325, allocations: 0.9343 MB / 0.5748 GB, free: 6.094 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005555/0.3331, allocations: 204 kB / 0.575 GB, free: 5.895 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3331, allocations: 0 / 0.575 GB, free: 5.895 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002229/0.3333, allocations: 75.89 kB / 0.5751 GB, free: 5.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004353/0.3337, allocations: 21.44 kB / 0.5751 GB, free: 5.801 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004232/0.338, allocations: 2.997 MB / 0.578 GB, free: 2.621 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000404/0.3384, allocations: 0.7714 MB / 0.5788 GB, free: 1.824 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001116/0.3385, allocations: 30.2 kB / 0.5788 GB, free: 1.793 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.3386, allocations: 99.41 kB / 0.5789 GB, free: 1.695 MB / 414.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3386, allocations: 0 / 0.5789 GB, free: 1.695 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02924/0.3679, allocations: 5.163 MB / 0.5839 GB, free: 12.6 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.496/8.864, allocations: 7.156 kB / 0.5839 GB, free: 12.6 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Sources_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 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.67533898493275] 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.93960397085175 8.966742315 8.643750419 Calling exit ...