Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.001683/0.001683, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.002087/0.002087, allocations: 221 kB / 24.53 MB, free: 4.008 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.532/1.532, allocations: 230.5 MB / 258.2 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2492/0.2492, allocations: 46.93 MB / 361.6 MB, free: 4.18 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.BasicComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002291/0.002291, allocations: 79.88 kB / 0.497 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3259, allocations: 66.08 MB / 0.5615 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005199/0.3311, allocations: 3.545 MB / 0.565 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.3327, allocations: 0.8431 MB / 0.5658 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002401/0.3329, allocations: 8 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002172/0.3331, allocations: 75.23 kB / 0.5659 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003072/0.3335, allocations: 126.8 kB / 0.566 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004247/0.3339, allocations: 131.8 kB / 0.5661 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006207/0.3345, allocations: 0.5218 MB / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003323/0.3348, allocations: 178.3 kB / 0.5668 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002874/0.3351, allocations: 219.3 kB / 0.567 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000306/0.3354, allocations: 231 kB / 0.5672 GB, free: 14.42 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.681e-05/0.3355, allocations: 56 kB / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.49e-05/0.3356, allocations: 48 kB / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.3357, allocations: 107.6 kB / 0.5674 GB, free: 14.21 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002356/0.3359, allocations: 250.9 kB / 0.5677 GB, free: 13.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006516/0.3366, allocations: 0.5601 MB / 0.5682 GB, free: 13.4 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3366, allocations: 0 / 0.5682 GB, free: 13.4 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3366, allocations: 0 / 0.5682 GB, free: 13.4 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.3366, allocations: 0 / 0.5682 GB, free: 13.4 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001367/0.338, allocations: 0.6962 MB / 0.5689 GB, free: 12.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.338, allocations: 12.03 kB / 0.5689 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.562e-05/0.338, allocations: 13.19 kB / 0.5689 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.23e-05/0.3381, allocations: 94.69 kB / 0.569 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.598e-05/0.3382, allocations: 56.61 kB / 0.569 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004575/0.3387, allocations: 259.7 kB / 0.5693 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.902e-05/0.3387, allocations: 33.38 kB / 0.5693 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.921e-05/0.3388, allocations: 48.38 kB / 0.5694 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008906/0.3397, allocations: 467.1 kB / 0.5698 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.3397, allocations: 0 / 0.5698 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.48e-05/0.3397, allocations: 20 kB / 0.5698 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.3397, allocations: 8 kB / 0.5698 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007892/0.3405, allocations: 328.1 kB / 0.5702 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002608/0.3431, allocations: 1.619 MB / 0.5717 GB, free: 9.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005976/0.3437, allocations: 236.9 kB / 0.572 GB, free: 9.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003905/0.3441, allocations: 125.7 kB / 0.5721 GB, free: 9.211 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.3442, allocations: 3.984 kB / 0.5721 GB, free: 9.207 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.3442, allocations: 42.55 kB / 0.5721 GB, free: 9.156 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.724e-06/0.3442, allocations: 0 / 0.5721 GB, free: 9.156 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003064/0.3473, allocations: 1.133 MB / 0.5732 GB, free: 7.961 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.099e-05/0.3473, allocations: 81.11 kB / 0.5733 GB, free: 7.863 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003173/0.3476, allocations: 261.8 kB / 0.5736 GB, free: 7.598 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.3477, allocations: 33.7 kB / 0.5736 GB, free: 7.559 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000187/0.3478, allocations: 260.1 kB / 0.5738 GB, free: 7.301 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.348, allocations: 135 kB / 0.574 GB, free: 7.168 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.3481, allocations: 82.08 kB / 0.5741 GB, free: 7.078 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.3483, allocations: 342.8 kB / 0.5744 GB, free: 6.734 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002899/0.3486, allocations: 104.8 kB / 0.5745 GB, free: 6.633 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003722/0.3489, allocations: 216.3 kB / 0.5747 GB, free: 6.383 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006695/0.3496, allocations: 334.5 kB / 0.575 GB, free: 6.016 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3496, allocations: 0 / 0.575 GB, free: 6.016 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009371/0.3505, allocations: 418 kB / 0.5754 GB, free: 5.598 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.3506, allocations: 8 kB / 0.5754 GB, free: 5.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.3506, allocations: 7.984 kB / 0.5754 GB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001533/0.3507, allocations: 32.78 kB / 0.5754 GB, free: 5.547 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004973/0.3512, allocations: 124 kB / 0.5756 GB, free: 5.426 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001308/0.3525, allocations: 1.331 MB / 0.5769 GB, free: 3.973 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002979/0.3528, allocations: 19.98 kB / 0.5769 GB, free: 3.953 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.936e-05/0.3529, allocations: 12 kB / 0.5769 GB, free: 3.941 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * 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.0002441/0.3531, allocations: 170.8 kB / 0.5771 GB, free: 3.766 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.697e-05/0.3532, allocations: 31.81 kB / 0.5771 GB, free: 3.734 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.487e-05/0.3533, allocations: 38.11 kB / 0.5771 GB, free: 3.699 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.3533, allocations: 4 kB / 0.5771 GB, free: 3.695 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.3533, allocations: 8.062 kB / 0.5771 GB, free: 3.688 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.3533, allocations: 0 / 0.5771 GB, free: 3.688 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.3545, allocations: 0.6871 MB / 0.5778 GB, free: 2.941 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3546, allocations: 144 / 0.5778 GB, free: 2.941 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004362/0.355, allocations: 91.94 kB / 0.5779 GB, free: 2.852 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001028/0.3551, allocations: 36.7 kB / 0.5779 GB, free: 2.812 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.623e-05/0.3551, allocations: 12 kB / 0.5779 GB, free: 2.801 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001109/0.3562, allocations: 1.319 MB / 0.5792 GB, free: 1.367 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3562, allocations: 0 / 0.5792 GB, free: 1.367 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.3573, allocations: 0.6077 MB / 0.5798 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.3574, allocations: 47.83 kB / 0.5799 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.071e-05/0.3575, allocations: 4 kB / 0.5799 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00028/0.3577, allocations: 31.86 kB / 0.5799 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.056e-05/0.3578, allocations: 23.95 kB / 0.5799 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-05/0.3578, allocations: 15.98 kB / 0.5799 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001989/0.358, allocations: 181.2 kB / 0.5801 GB, free: 448 kB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.358, allocations: 0 / 0.5801 GB, free: 448 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004927/0.3585, allocations: 92 kB / 0.5802 GB, free: 356 kB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * 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.001456/0.36, allocations: 1.15 MB / 0.5813 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009201/0.3609, allocations: 394.9 kB / 0.5817 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.3609, allocations: 4.062 kB / 0.5817 GB, free: 14.76 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004222/0.3613, allocations: 246.5 kB / 0.5819 GB, free: 14.51 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005029/0.3618, allocations: 49.56 kB / 0.582 GB, free: 14.46 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00564/0.3675, allocations: 3.486 MB / 0.5854 GB, free: 10.79 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004768/0.368, allocations: 0.8113 MB / 0.5862 GB, free: 9.953 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001716/0.3681, allocations: 38.95 kB / 0.5862 GB, free: 9.914 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/0.3683, allocations: 135.4 kB / 0.5864 GB, free: 9.781 MB / 430.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3683, allocations: 0 / 0.5864 GB, free: 9.781 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04661/0.4149, allocations: 6.911 MB / 0.5931 GB, free: 3.012 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.54, allocations: 8.047 kB / 0.5931 GB, free: 3.004 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_BasicComponents_fmu --startTime=0 --stopTime=14 --stepSize=0.00300043 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_BasicComponents.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.964198531990405]